summaryrefslogtreecommitdiffstats
path: root/fish/cmds_gperf.h
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-26 21:51:11 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-26 21:51:11 +0000
commit272b754093ef824486993540a893d39be8e7e9f0 (patch)
treecccad46c8446246663050bf7e7b28936d1f8a392 /fish/cmds_gperf.h
parentb4c853f7d493af1d71f352832fed29eb7e377e8f (diff)
downloadlibguestfs-272b754093ef824486993540a893d39be8e7e9f0.tar.gz
libguestfs-272b754093ef824486993540a893d39be8e7e9f0.tar.xz
libguestfs-272b754093ef824486993540a893d39be8e7e9f0.zip
fish: Don't use external pod2text program.
This removes the dependency from guestfish to the external pod2text program (and hence the final dependency on perl for guestfish). This is done by storing the formatted pod2text output in guestfish as the help text.
Diffstat (limited to 'fish/cmds_gperf.h')
-rw-r--r--fish/cmds_gperf.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fish/cmds_gperf.h b/fish/cmds_gperf.h
index 92bd6070..74db69d2 100644
--- a/fish/cmds_gperf.h
+++ b/fish/cmds_gperf.h
@@ -23,10 +23,8 @@
* guestfish can execute.
*/
struct command_entry {
- /* These fields are passed to pod2text to implement the online help. */
- const char *name;
- const char *shortdesc;
- const char *podbody;
+ const char *name; /* Short name. */
+ const char *help; /* Online help. */
/* The run_* function. */
int (*run) (const char *cmd, size_t argc, char *argv[]);