mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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'.
This commit is contained in:
committed by
Richard W.M. Jones
parent
6f84ef6768
commit
4e3a1205eb
@@ -92,7 +92,7 @@ do_debug (const char *subcmd, char *const *argv)
|
||||
return cmds[i].f (subcmd, argc, argv);
|
||||
}
|
||||
|
||||
reply_with_error ("use 'debug help' to list the supported commands");
|
||||
reply_with_error ("use 'debug help 0' to list the supported commands");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user