summaryrefslogtreecommitdiffstats
path: root/fish/fish.h
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-05-25 11:28:09 +0100
committerRichard Jones <rjones@redhat.com>2010-05-25 11:31:11 +0100
commitc9f1a45334efca844c8918b9f0de373f16fd9766 (patch)
treec373c8568a8d58cd23478a4f9d86212f3b733b78 /fish/fish.h
parent1bd1f9b85f45275b1600d148530bc1877ff15213 (diff)
downloadlibguestfs-c9f1a45334efca844c8918b9f0de373f16fd9766.tar.gz
libguestfs-c9f1a45334efca844c8918b9f0de373f16fd9766.tar.xz
libguestfs-c9f1a45334efca844c8918b9f0de373f16fd9766.zip
fish: New command: 'supported'
This checks all available optional groups and prints out which ones are supported by the daemon. Note you must launch the appliance first. Example: ><fs> supported augeas yes inotify yes linuxfsuuid yes linuxmodules yes linuxxattrs yes lvm2 yes mknod yes ntfs3g yes ntfsprogs yes realpath yes scrub yes selinux yes xz yes zerofree yes
Diffstat (limited to 'fish/fish.h')
-rw-r--r--fish/fish.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fish/fish.h b/fish/fish.h
index a9993b37..b98faf02 100644
--- a/fish/fish.h
+++ b/fish/fish.h
@@ -121,6 +121,9 @@ extern int rc_remote (int pid, const char *cmd, int argc, char *argv[],
/* in reopen.c */
extern int do_reopen (const char *cmd, int argc, char *argv[]);
+/* in supported.c */
+extern int do_supported (const char *cmd, int argc, char *argv[]);
+
/* in time.c */
extern int do_time (const char *cmd, int argc, char *argv[]);
@@ -142,6 +145,7 @@ extern char *try_tilde_expansion (char *path);
"more", "less", \
"reopen", \
"sparse", \
+ "supported", \
"time"
static inline char *