]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
agetty: Update help usage function
authorBenjamin Robin <dev@benjarobin.fr>
Sun, 18 May 2014 00:48:14 +0000 (02:48 +0200)
committerBenjamin Robin <dev@benjarobin.fr>
Sun, 18 May 2014 00:48:14 +0000 (02:48 +0200)
Signed-off-by: Benjamin Robin <dev@benjarobin.fr>
term-utils/agetty.c

index e6bf1103b8752f2435e1430bf5574dd73d868da6..e12b272050e0d47ca0b423a18f23c9c9c14b8aeb 100644 (file)
@@ -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)"));