diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-04 17:04:03 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-04 17:04:03 +0000 |
commit | 74f7c9e4b7e27787e2052166eeedfbac5814200b (patch) | |
tree | cee6808436f575172f4b198f41c1c344a08231e0 /fish/fish.c | |
parent | 7e3d76e41b3c2862ae04744b01e5e23b245393e4 (diff) | |
download | libguestfs-74f7c9e4b7e27787e2052166eeedfbac5814200b.tar.gz libguestfs-74f7c9e4b7e27787e2052166eeedfbac5814200b.tar.xz libguestfs-74f7c9e4b7e27787e2052166eeedfbac5814200b.zip |
fish: Make the 'help' command more helpful.
Diffstat (limited to 'fish/fish.c')
-rw-r--r-- | fish/fish.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish/fish.c b/fish/fish.c index 559d6097..54fd2707 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -626,7 +626,7 @@ script (int prompt) "Welcome to guestfish, the libguestfs filesystem interactive shell for\n" "editing virtual machine filesystems.\n" "\n" - "Type: 'help' for a list of commands\n" + "Type: 'help' for help on commands\n" " 'man' to read the manual\n" " 'quit' to quit the shell\n" "\n")); @@ -925,7 +925,7 @@ issue_command (const char *cmd, char *argv[], const char *pipecmd) /* Otherwise execute it locally. */ else if (STRCASEEQ (cmd, "help")) { if (argc == 0) { - list_commands (); + display_help (); r = 0; } else r = display_command (argv[0]); |