From: kernc Date: Thu, 4 Jul 2013 15:02:57 +0000 (+0200) Subject: Fixes "getty: unrecognized option '--loginpause'" X-Git-Tag: v2.24-rc1~448^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a056cfe290ca47fd6823fb7e52508a448d4530a7;p=thirdparty%2Futil-linux.git Fixes "getty: unrecognized option '--loginpause'" Usage incorrectly stated --loginpause is a valid option, where instead --login-pause is. Also --no-hostname --> --nohostname. --- diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 054a1dd685..4873891022 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -1691,7 +1691,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 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 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); @@ -1701,7 +1701,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 additional backspace chars\n"), out); fputs(_(" --kill-chars additional kill chars\n"), out);