summaryrefslogtreecommitdiffstats
path: root/cat/virt-ls.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-ls.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-ls.c')
-rw-r--r--cat/virt-ls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cat/virt-ls.c b/cat/virt-ls.c
index 64bae46e..315fb1ff 100644
--- a/cat/virt-ls.c
+++ b/cat/virt-ls.c
@@ -35,6 +35,7 @@
guestfs_h *g;
int read_only = 1;
+int live = 0;
int verbose = 0;
int keys_from_stdin = 0;
int echo_keys = 0;
@@ -227,6 +228,7 @@ main (int argc, char *argv[])
*/
assert (read_only == 1);
assert (inspector == 1);
+ assert (live == 0);
/* User must specify at least one directory name on the command line. */
if (optind >= argc || argc - optind < 1)