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)
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;
}