diff options
author | Sami Kerola | 2012-07-15 09:57:31 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-16 18:18:22 +0200 |
commit | 400bc941fc43159d441934951074c575b769a372 (patch) | |
tree | 536ddc640daf0641678c64820683a1dbd022e6f4 | |
parent | su: align with howto-usage-function (diff) | |
download | kernel-qcow2-util-linux-400bc941fc43159d441934951074c575b769a372.tar.gz kernel-qcow2-util-linux-400bc941fc43159d441934951074c575b769a372.tar.xz kernel-qcow2-util-linux-400bc941fc43159d441934951074c575b769a372.zip |
utmpdump: use help and version output macros
Done to reduce translation project work.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r-- | login-utils/utmpdump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/login-utils/utmpdump.c b/login-utils/utmpdump.c index 1fa274ef4..d907e0207 100644 --- a/login-utils/utmpdump.c +++ b/login-utils/utmpdump.c @@ -286,10 +286,10 @@ static void __attribute__((__noreturn__)) usage(FILE *out) _(" %s [options] [filename]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); - fputs(_(" -f, --follow output appended data as the file grows\n" - " -r, --reverse write back dumped data into utmp file\n" - " -h, --help display this help and exit\n" - " -V, --version output version information and exit\n"), out); + fputs(_(" -f, --follow output appended data as the file grows\n" + " -r, --reverse write back dumped data into utmp file\n"), out); + fputs(USAGE_HELP, out); + fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("utmpdump(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); |