[PATCH] 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 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(-)
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/
participants (2)
-
Matthew Booth -
Richard W.M. Jones