summaryrefslogtreecommitdiffstats
path: root/login-utils/utmpdump.c
diff options
context:
space:
mode:
authorSami Kerola2012-07-15 09:57:31 +0200
committerKarel Zak2012-07-16 18:18:22 +0200
commit400bc941fc43159d441934951074c575b769a372 (patch)
tree536ddc640daf0641678c64820683a1dbd022e6f4 /login-utils/utmpdump.c
parentsu: align with howto-usage-function (diff)
downloadkernel-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>
Diffstat (limited to 'login-utils/utmpdump.c')
-rw-r--r--login-utils/utmpdump.c8
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);