summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorKarel Zak2013-04-05 12:55:20 +0200
committerKarel Zak2013-04-05 12:55:20 +0200
commit4b856ee4b93979365142f9ab274e970bad88a7b8 (patch)
tree95e91a2f8ac10605218a7efd1fcd8d678317e238 /term-utils/agetty.c
parentagetty: add -E, --remote to usage() (diff)
downloadkernel-qcow2-util-linux-4b856ee4b93979365142f9ab274e970bad88a7b8.tar.gz
kernel-qcow2-util-linux-4b856ee4b93979365142f9ab274e970bad88a7b8.tar.xz
kernel-qcow2-util-linux-4b856ee4b93979365142f9ab274e970bad88a7b8.zip
agetty: add --chroot to usage() and man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index 8f9c3244e..f877d0e36 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -1651,6 +1651,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *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(_(" -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);
fputs(_(" -t, --timeout <number> login process timeout\n"), out);