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>
Richard W.M. Jones
2011-Oct-31 16:48 UTC
[Libguestfs] [PATCH] Fix debug help error message
On Mon, Oct 31, 2011 at 03:11:18PM +0000, Matthew Booth wrote:> > 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'.Thanks, I've pushed this. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/