diff options
author | Matthew Booth <mbooth@redhat.com> | 2011-10-31 16:47:50 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-10-31 16:47:50 +0000 |
commit | 4e3a1205ebfec1a5cbc3062d6f73a684090e80b5 (patch) | |
tree | 43b0bc95015fb55482d78e112bba49ed7d6ba01c /daemon | |
parent | 6f84ef6768e9c625d67f7eb015277b0ec1b2c2af (diff) | |
download | libguestfs-4e3a1205ebfec1a5cbc3062d6f73a684090e80b5.tar.gz libguestfs-4e3a1205ebfec1a5cbc3062d6f73a684090e80b5.tar.xz libguestfs-4e3a1205ebfec1a5cbc3062d6f73a684090e80b5.zip |
Fix debug help error message.
When given an invalid debug command, libguestfs responds with the
error message:
libguestfs: error: debug: use 'debug help' to list the supported commands
However this command does not work, as debug requires two
arguments. This change updates the message to prompt the user to use
'debug help 0'.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/debug.c b/daemon/debug.c index 2ba48a73..6b9d7562 100644 --- a/daemon/debug.c +++ b/daemon/debug.c @@ -92,7 +92,7 @@ do_debug (const char *subcmd, char *const *argv) return cmds[i].f (subcmd, argc, argv); } - reply_with_error ("use 'debug help' to list the supported commands"); + reply_with_error ("use 'debug help 0' to list the supported commands"); return NULL; } |