summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorKarel Zak2013-06-03 10:04:43 +0200
committerKarel Zak2013-06-03 10:04:43 +0200
commit4cfda3dce0422f4e43ed904aa40d04695efa8f9f (patch)
treead22fc44ae3ad5bf2b229d645a6ace691e317efb /term-utils/agetty.c
parentlibmount: more robust options string parsing (diff)
downloadkernel-qcow2-util-linux-4cfda3dce0422f4e43ed904aa40d04695efa8f9f.tar.gz
kernel-qcow2-util-linux-4cfda3dce0422f4e43ed904aa40d04695efa8f9f.tar.xz
kernel-qcow2-util-linux-4cfda3dce0422f4e43ed904aa40d04695efa8f9f.zip
agetty: update man page and usage()
- baud_rate is optional - agetty has been rewritten 2 years ago, so don't blame original authors in the man page Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index 0d01e7ec3..76f56eb00 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -1672,7 +1672,7 @@ static speed_t bcode(char *s)
static void __attribute__ ((__noreturn__)) usage(FILE *out)
{
fputs(USAGE_HEADER, out);
- fprintf(out, _(" %1$s [options] line baud_rate,... [termtype]\n"
+ fprintf(out, _(" %1$s [options] line [baud_rate,...] [termtype]\n"
" %1$s [options] baud_rate,... line [termtype]\n"), program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
fputs(_(" -8, --8bits assume 8-bit tty\n"), out);