From a056cfe290ca47fd6823fb7e52508a448d4530a7 Mon Sep 17 00:00:00 2001 From: kernc Date: Thu, 4 Jul 2013 17:02:57 +0200 Subject: Fixes "getty: unrecognized option '--loginpause'" Usage incorrectly stated --loginpause is a valid option, where instead --login-pause is. Also --no-hostname --> --nohostname.--- term-utils/agetty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'term-utils/agetty.c') diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 054a1dd68..487389102 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); -- cgit v1.2.3-55-g7522