Fix debug help error message.
authorMatthew Booth <mbooth@redhat.com>
Mon, 31 Oct 2011 16:47:50 +0000 (16:47 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 9 Nov 2011 22:04:41 +0000 (22:04 +0000)
commit57dea61ccca2be749ac52025e6b1f1d725429388
tree72f07491ea233ab6d87fa902154866b3658cdf5f
parentd807f0c65c75d0aec22a4dfec1b695a30c80baf5
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'.
(cherry picked from commit 4e3a1205ebfec1a5cbc3062d6f73a684090e80b5)
daemon/debug.c