X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=rescue%2Fvirt-rescue.c;h=0c0c1fb1bca4a8a2d73c84c1d96f3d84e06d085b;hb=82a9bfb8debc686d018d98b3ff9bb0732fd9fcb0;hp=64707334e5fd87fc364c1d0c4bd3094ea39d276f;hpb=f64011b6d778b8e695095860df699675641bbb3d;p=libguestfs.git diff --git a/rescue/virt-rescue.c b/rescue/virt-rescue.c index 6470733..0c0c1fb 100644 --- a/rescue/virt-rescue.c +++ b/rescue/virt-rescue.c @@ -75,6 +75,7 @@ usage (int status) " --selinux Enable SELinux\n" " -v|--verbose Verbose messages\n" " -V|--version Display version and exit\n" + " -w|--rw Mount read-write\n" " -x Trace libguestfs API calls\n" "For more information, see the manpage %s(1).\n"), program_name, program_name, program_name, @@ -106,6 +107,7 @@ main (int argc, char *argv[]) { "memsize", 1, 0, 'm' }, { "network", 0, 0, 0 }, { "ro", 0, 0, 'r' }, + { "rw", 0, 0, 'w' }, { "selinux", 0, 0, 0 }, { "verbose", 0, 0, 'v' }, { "version", 0, 0, 'V' }, @@ -188,6 +190,10 @@ main (int argc, char *argv[]) OPTION_V; break; + case 'w': + OPTION_w; + break; + case 'x': OPTION_x; break;