diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-08-05 02:00:30 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-08-05 02:00:30 +0200 |
commit | d7867b31836173d1a943ecb1cab6484536126411 (patch) | |
tree | 2ad9da94abfa9b5d12dc47a623601b8ea8640c7f /udev/udevadm.c | |
parent | 617746e09795575c6258dd075ee7f0a44ce61e1e (diff) |
implement path_id, usb_id, input_id as built-in command
Diffstat (limited to 'udev/udevadm.c')
-rw-r--r-- | udev/udevadm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/udev/udevadm.c b/udev/udevadm.c index d3810e73e0..178981eb3e 100644 --- a/udev/udevadm.c +++ b/udev/udevadm.c @@ -67,6 +67,7 @@ static const struct udevadm_cmd *udevadm_cmds[] = { &udevadm_control, &udevadm_monitor, &udevadm_test, + &udevadm_test_builtin, &udevadm_version, &udevadm_help, }; @@ -75,11 +76,11 @@ static int adm_help(struct udev *udev, int argc, char *argv[]) { unsigned int i; - printf("Usage: udevadm [--help] [--version] [--debug] COMMAND [COMMAND OPTIONS]\n"); + fprintf(stderr, "Usage: udevadm [--help] [--version] [--debug] COMMAND [COMMAND OPTIONS]\n"); for (i = 0; i < ARRAY_SIZE(udevadm_cmds); i++) if (udevadm_cmds[i]->help != NULL) printf(" %-12s %s\n", udevadm_cmds[i]->name, udevadm_cmds[i]->help); - printf("\n"); + fprintf(stderr, "\n"); return 0; } |