summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorkernc2013-07-04 17:02:57 +0200
committerkernc2013-07-04 17:02:57 +0200
commita056cfe290ca47fd6823fb7e52508a448d4530a7 (patch)
treef41c79446fef0b981ced9bc9f4b50ba82bbc562e /term-utils/agetty.c
parentfindmnt: avoid unused parameter warning (diff)
downloadkernel-qcow2-util-linux-a056cfe290ca47fd6823fb7e52508a448d4530a7.tar.gz
kernel-qcow2-util-linux-a056cfe290ca47fd6823fb7e52508a448d4530a7.tar.xz
kernel-qcow2-util-linux-a056cfe290ca47fd6823fb7e52508a448d4530a7.zip
Fixes "getty: unrecognized option '--loginpause'"
Usage incorrectly stated --loginpause is a valid option, where instead --login-pause is. Also --no-hostname --> --nohostname.
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c4
1 files changed, 2 insertions, 2 deletions
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 <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);
@@ -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 <string> additional backspace chars\n"), out);
fputs(_(" --kill-chars <string> additional kill chars\n"), out);