summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorBenjamin Robin2014-05-18 02:48:14 +0200
committerBenjamin Robin2014-05-18 02:48:14 +0200
commit584c07449ca47c44f89957b1636d6bb2a295ef69 (patch)
treeb65c04f3fedf532c093568097edc70d9b63c222b /term-utils/agetty.c
parentagetty: Fix implementation of option --nonewline. The flag F_NONL was never set. (diff)
downloadkernel-qcow2-util-linux-584c07449ca47c44f89957b1636d6bb2a295ef69.tar.gz
kernel-qcow2-util-linux-584c07449ca47c44f89957b1636d6bb2a295ef69.tar.xz
kernel-qcow2-util-linux-584c07449ca47c44f89957b1636d6bb2a295ef69.zip
agetty: Update help usage function
Signed-off-by: Benjamin Robin <dev@benjarobin.fr>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index e6bf1103b..e12b27205 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -1861,10 +1861,12 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
fputs(_(" -H, --host <hostname> specify login host\n"), out);
fputs(_(" -i, --noissue do not display issue file\n"), out);
fputs(_(" -I, --init-string <string> set init string\n"), out);
+ fputs(_(" -J --noclear do not clear the screen before prompt\n"), out);
fputs(_(" -l, --login-program <file> specify login program\n"), out);
fputs(_(" -L, --local-line[=<mode>] control the local line flag\n"), out);
fputs(_(" -m, --extract-baud extract baud rate during connect\n"), out);
fputs(_(" -n, --skip-login do not prompt for login\n"), out);
+ fputs(_(" -N --nonewline do not print a newline before issue\n"), out);
fputs(_(" -o, --login-options <opts> options that are passed to login\n"), out);
fputs(_(" -p, --login-pause wait for any key before the login\n"), out);
fputs(_(" -r, --chroot <dir> change root to the directory\n"), out);
@@ -1873,13 +1875,14 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
fputs(_(" -t, --timeout <number> login process timeout\n"), out);
fputs(_(" -U, --detect-case detect uppercase terminal\n"), out);
fputs(_(" -w, --wait-cr wait carriage-return\n"), out);
- fputs(_(" --noclear do not clear the screen before prompt\n"), out);
fputs(_(" --nohints do not print hints\n"), out);
- fputs(_(" --nonewline do not print a newline before issue\n"), out);
fputs(_(" --nohostname no hostname at all will be shown\n"), 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(_(" --chdir <directory> chdir before the login\n"), out);
+ fputs(_(" --delay <number> sleep seconds before prompt\n"), out);
+ fputs(_(" --nice <number> run login with this priority\n"), 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)"));