diff options
author | Karel Zak | 2013-06-03 10:04:43 +0200 |
---|---|---|
committer | Karel Zak | 2013-06-03 10:04:43 +0200 |
commit | 4cfda3dce0422f4e43ed904aa40d04695efa8f9f (patch) | |
tree | ad22fc44ae3ad5bf2b229d645a6ace691e317efb /term-utils/agetty.c | |
parent | libmount: more robust options string parsing (diff) | |
download | kernel-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.c | 2 |
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); |