From 400bc941fc43159d441934951074c575b769a372 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 15 Jul 2012 09:57:31 +0200 Subject: [PATCH] utmpdump: use help and version output macros Done to reduce translation project work. Signed-off-by: Sami Kerola --- login-utils/utmpdump.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.47.3