]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fixes "getty: unrecognized option '--loginpause'"
authorkernc <kerncece@gmail.com>
Thu, 4 Jul 2013 15:02:57 +0000 (17:02 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Jul 2013 09:08:01 +0000 (11:08 +0200)
Usage incorrectly stated --loginpause is a valid option, where instead --login-pause is.

Also --no-hostname --> --nohostname.

term-utils/agetty.c

index 8a0a435df6b48158f6a804b55b3822fcd4bf952e..c215a1ae3d5b2484b8ce33f5b741bd74af48702a 100644 (file)
@@ -1650,7 +1650,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
        fputs(_(" -m, --extract-baud         extract baud rate during connect\n"), out);
        fputs(_(" -n, --skip-login           do not prompt for login\n"), out);
        fputs(_(" -o, --login-options <opts> options that are passed to login\n"), out);
-       fputs(_(" -p, --loginpause           wait for any key before the 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);
        fputs(_(" -R, --hangup               do virtually hangup on the tty\n"), out);
        fputs(_(" -s, --keep-baud            try to keep baud rate after break\n"), out);
@@ -1660,7 +1660,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *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(_("     --no-hostname          no hostname at all will be shown\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);