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:
Augustin Cavalier
2024-07-24 15:57:58 -04:00
parent 328d836b1a
commit 0ccab46493
+1 -1
View File
@@ -3242,7 +3242,7 @@ dump_vnode(int argc, char** argv)
argi++;
}
if (argi >= argc || argi + 2 < argc) {
if (argi >= argc || argi + 2 < argc || strcmp(argv[argi], "--help") == 0) {
print_debugger_command_usage(argv[0]);
return 0;
}