From: Benjamin Robin Date: Sun, 18 May 2014 00:48:14 +0000 (+0200) Subject: agetty: Update help usage function X-Git-Tag: v2.25-rc1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=584c07449ca47c44f89957b1636d6bb2a295ef69;p=thirdparty%2Futil-linux.git agetty: Update help usage function Signed-off-by: Benjamin Robin --- diff --git a/term-utils/agetty.c b/term-utils/agetty.c index e6bf1103b8..e12b272050 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 specify login host\n"), out); fputs(_(" -i, --noissue do not display issue file\n"), out); fputs(_(" -I, --init-string set init string\n"), out); + fputs(_(" -J --noclear do not clear the screen before prompt\n"), out); fputs(_(" -l, --login-program specify login program\n"), out); fputs(_(" -L, --local-line[=] 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 options that are passed to login\n"), out); fputs(_(" -p, --login-pause wait for any key before the login\n"), out); fputs(_(" -r, --chroot change root to the directory\n"), out); @@ -1873,13 +1875,14 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) fputs(_(" -t, --timeout 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 additional backspace chars\n"), out); fputs(_(" --kill-chars additional kill chars\n"), out); + fputs(_(" --chdir chdir before the login\n"), out); + fputs(_(" --delay sleep seconds before prompt\n"), out); + fputs(_(" --nice 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)"));