From eb258077e72f36a35294dc5ec962b863e34655a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 19 Mar 2008 23:02:30 +0000 Subject: [PATCH] added --help support for devfs_node debugger command git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24482 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/fs/devfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/fs/devfs.cpp b/src/system/kernel/fs/devfs.cpp index 1a70b7b2d4..9446c6e576 100644 --- a/src/system/kernel/fs/devfs.cpp +++ b/src/system/kernel/fs/devfs.cpp @@ -1364,7 +1364,7 @@ get_device_name(struct devfs_vnode *vnode, char *buffer, size_t size) static int dump_node(int argc, char **argv) { - if (argc < 2) { + if (argc < 2 || !strcmp(argv[1], "--help")) { kprintf("usage: %s
\n", argv[0]); return 0; }