X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ffish.c;h=5d7aac6a0f97c7738f1a3f93e3535e3397c1ebf2;hb=12eb3eb8ab2e64ddccf319f7ddc9ef5fe4a3763a;hp=9f20bba21eaf6db77d5599a80b8ce9ae673e604e;hpb=371e83c0902d0f6949a09095b1b10280d8881aac;p=libguestfs.git diff --git a/fish/fish.c b/fish/fish.c index 9f20bba..5d7aac6 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -150,7 +150,7 @@ main (int argc, char *argv[]) enum { HELP_OPTION = CHAR_MAX + 1 }; - static const char *options = "a:c:d:Df:h::im:nN:rv?Vx"; + static const char *options = "a:c:d:Df:h::im:nN:rv?Vwx"; static const struct option long_options[] = { { "add", 1, 0, 'a' }, { "cmd-help", 2, 0, 'h' }, @@ -172,6 +172,7 @@ main (int argc, char *argv[]) { "no-progress-bars", 0, 0, 0 }, { "remote", 2, 0, 0 }, { "ro", 0, 0, 'r' }, + { "rw", 0, 0, 'w' }, { "selinux", 0, 0, 0 }, { "verbose", 0, 0, 'v' }, { "version", 0, 0, 'V' }, @@ -362,6 +363,10 @@ main (int argc, char *argv[]) OPTION_V; break; + case 'w': + OPTION_w; + break; + case 'x': OPTION_x; break;