From: Sami Kerola Date: Sun, 15 Jul 2012 07:57:31 +0000 (+0200) Subject: utmpdump: use help and version output macros X-Git-Tag: v2.22-rc1~144^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=400bc941fc43159d441934951074c575b769a372;p=thirdparty%2Futil-linux.git utmpdump: use help and version output macros Done to reduce translation project work. Signed-off-by: Sami Kerola --- diff --git a/login-utils/utmpdump.c b/login-utils/utmpdump.c index 1fa274ef45..d907e02074 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);