summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2011-10-31 16:47:50 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-10-31 16:47:50 +0000
commit4e3a1205ebfec1a5cbc3062d6f73a684090e80b5 (patch)
tree43b0bc95015fb55482d78e112bba49ed7d6ba01c /daemon
parent6f84ef6768e9c625d67f7eb015277b0ec1b2c2af (diff)
downloadlibguestfs-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.c2
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;
}