]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
utmpdump: use help and version output macros
authorSami Kerola <kerolasa@iki.fi>
Sun, 15 Jul 2012 07:57:31 +0000 (09:57 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:18:22 +0000 (18:18 +0200)
Done to reduce translation project work.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/utmpdump.c

index 1fa274ef45800b9ca7c23754574f96abaf2fbea8..d907e02074b1765e0c66bfaa3cad7e2d3e69ffa1 100644 (file)
@@ -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);