summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorSami Kerola2013-04-02 21:42:47 +0200
committerKarel Zak2013-04-05 13:55:54 +0200
commit86ad1432e89a249aef115a41ff7fe95b66c96069 (patch)
treea3a343dc98c6bed6b777e232e323eb15fb4a4e89 /term-utils/agetty.c
parentnewgrp: use xstrdup to check allocation succeeded (diff)
downloadkernel-qcow2-util-linux-86ad1432e89a249aef115a41ff7fe95b66c96069.tar.gz
kernel-qcow2-util-linux-86ad1432e89a249aef115a41ff7fe95b66c96069.tar.xz
kernel-qcow2-util-linux-86ad1432e89a249aef115a41ff7fe95b66c96069.zip
agetty: the command does not have -h and -V options
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index f877d0e36..a23cf6dc2 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -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);