mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
rescue: Add -w|--rw option.
This commit is contained in:
@@ -76,6 +76,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,
|
||||
@@ -107,6 +108,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' },
|
||||
@@ -189,6 +191,10 @@ main (int argc, char *argv[])
|
||||
OPTION_V;
|
||||
break;
|
||||
|
||||
case 'w':
|
||||
OPTION_w;
|
||||
break;
|
||||
|
||||
case 'x':
|
||||
OPTION_x;
|
||||
break;
|
||||
|
||||
@@ -184,6 +184,13 @@ Enable verbose messages for debugging.
|
||||
|
||||
Display version number and exit.
|
||||
|
||||
=item B<-w>
|
||||
|
||||
=item B<--rw>
|
||||
|
||||
This option does nothing at the moment.
|
||||
See L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>.
|
||||
|
||||
=item B<-x>
|
||||
|
||||
Enable tracing of libguestfs API calls.
|
||||
|
||||
Reference in New Issue
Block a user