[PATCH 03/13] agetty: the command does not have -h and -V options

Sami Kerola
2013-04-02T19:43:11Z

term-utils/agetty.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index f745e68..311582c 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -1662,9 +1662,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);
--
1.8.2