summaryrefslogtreecommitdiffstats
path: root/cat/virt-filesystems.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-01-28 19:25:02 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-02-03 18:50:45 +0000
commita20e5c00c35490fa29668630113a01240a69b701 (patch)
tree18b2ae239bc64d2a5f48aea73242057de1552845 /cat/virt-filesystems.c
parent2020eded8a3f381c722abe001be8000723ff2418 (diff)
downloadlibguestfs-a20e5c00c35490fa29668630113a01240a69b701.tar.gz
libguestfs-a20e5c00c35490fa29668630113a01240a69b701.tar.xz
libguestfs-a20e5c00c35490fa29668630113a01240a69b701.zip
fish: Add guestfish --live, guestmount --live options.
The other programs have the variable, but the flag is not enabled either because it doesn't make sense or because the implications are not well understood.
Diffstat (limited to 'cat/virt-filesystems.c')
-rw-r--r--cat/virt-filesystems.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cat/virt-filesystems.c b/cat/virt-filesystems.c
index cd991e85..7eca9ebc 100644
--- a/cat/virt-filesystems.c
+++ b/cat/virt-filesystems.c
@@ -46,6 +46,7 @@
guestfs_h *g;
int read_only = 1;
+int live = 0;
int verbose = 0;
int keys_from_stdin = 0;
int echo_keys = 0;
@@ -301,6 +302,7 @@ main (int argc, char *argv[])
*/
assert (read_only == 1);
assert (inspector == 0);
+ assert (live == 0);
/* Must be no extra arguments on the command line. */
if (optind != argc)