]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
agetty: the command does not have -h and -V options
authorSami Kerola <kerolasa@iki.fi>
Tue, 2 Apr 2013 19:42:47 +0000 (20:42 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 5 Apr 2013 11:55:54 +0000 (13:55 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
term-utils/agetty.c

index f877d0e360c6ecda137bbc07fe83a564db66da69..a23cf6dc278b9338b68d204963721a331e6c1b6b 100644 (file)
@@ -1664,9 +1664,8 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
        fputs(_("     --long-hostname        show full qualified hostname\n"), out);
        fputs(_("     --erase-chars <string> additional backspace chars\n"), out);
        fputs(_("     --kill-chars <string>  additional kill chars\n"), out);
-       fputs(USAGE_SEPARATOR, out);
-       fputs(USAGE_HELP, out);
-       fputs(USAGE_VERSION, out);
+       fputs(_("     --help                 display this help and exit\n"), out);
+       fputs(_("     --version              output version information and exit\n"), out);
        fprintf(out, USAGE_MAN_TAIL("agetty(8)"));
 
        exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);