diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-07 16:53:15 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-01-07 16:53:15 -0500 |
commit | 81ce2af261245727ee92ba1e0070571028602e12 (patch) | |
tree | e3819dcbf70bca63eedd25e69d5d2175bc9fd16b /src/collect/collect.c | |
parent | 2ce4bb9f127e3e57494b29310e08dbb226de70cd (diff) |
udevadm,..: make --help output of udev tools more like the output of the various other tools
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/collect/collect.c')
-rw-r--r-- | src/collect/collect.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/collect/collect.c b/src/collect/collect.c index 438d3a6eb7..f309f3b98e 100644 --- a/src/collect/collect.c +++ b/src/collect/collect.c @@ -72,17 +72,19 @@ noreturn static void sig_alrm(int signo) static void usage(void) { - printf("Usage: collect [options] <checkpoint> <id> <idlist>\n" - " -a,--add add ID <id> to the list <idlist>\n" - " -r,--remove remove ID <id> from the list <idlist>\n" - " -d,--debug debug to stderr\n" - " -h,--help print this help text\n\n" + printf("%s [options] <checkpoint> <id> <idlist>\n\n" + "Collect variables across events.\n\n" + " -h --help Print this message\n" + " -a --add Add ID <id> to the list <idlist>\n" + " -r --remove Remove ID <id> from the list <idlist>\n" + " -d --debug Debug to stderr\n\n" " Adds ID <id> to the list governed by <checkpoint>.\n" " <id> must be part of the list <idlist>.\n" " If all IDs given by <idlist> are listed (ie collect has been\n" " invoked for each ID in <idlist>) collect returns 0, the\n" " number of missing IDs otherwise.\n" - " On error a negative number is returned.\n\n"); + " On error a negative number is returned.\n\n" + , program_invocation_short_name); } /* |