* Fixed the "vnodes" KDL command when called without any arguments.
* Fixed the usage text of the "help" KDL command. * Made the "ambiguous command" warning shorter, so that it will still fit in the exception buffer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23565 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -589,8 +589,8 @@ cmd_shutdown(int argc, char **argv)
|
||||
static int
|
||||
cmd_help(int argc, char **argv)
|
||||
{
|
||||
static const char* usage = "usage: %s\n"
|
||||
"Lists all debugger commands.\n";
|
||||
static const char* usage = "usage: %s [name]\n"
|
||||
"Lists all debugger commands or those starting with \"name\".\n";
|
||||
if (argc > 1 && strcmp(argv[1], "--help") == 0) {
|
||||
kprintf(usage, argv[0]);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user