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:11:08 +0000 (22:11 +0000)
commit300db286ea7a257bba6fe3e1e57d269c800f1492
tree995a7708802507ca951f72e30fa73f4c2f52d5c5
parent6e6a3f7e0d9b00aa214d636181f6705acee18ec7
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