kernel/fs: Print usage information for "vnode" command with "--help".
The other KDL commands in this file do the same, so this is consistent.
This commit is contained in:
@@ -3242,7 +3242,7 @@ dump_vnode(int argc, char** argv)
|
|||||||
argi++;
|
argi++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argi >= argc || argi + 2 < argc) {
|
if (argi >= argc || argi + 2 < argc || strcmp(argv[argi], "--help") == 0) {
|
||||||
print_debugger_command_usage(argv[0]);
|
print_debugger_command_usage(argv[0]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user