[Libguestfs] [PATCH] Fix debug help error message

Matthew Booth mbooth at redhat.com
Mon Oct 31 15:11:18 UTC 2011


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 2 arguments. This change
updates the message to prompt the user to use 'debug help 0'.
---
 daemon/debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-debug-help-error-message.patch
Type: text/x-patch
Size: 406 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20111031/e7dab3fa/attachment.bin>


More information about the Libguestfs mailing list