added --help support for devfs_node debugger command

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24482 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-03-19 23:02:30 +00:00
parent 957d7d0732
commit eb258077e7

View File

@ -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 <address>\n", argv[0]);
return 0;
}