diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2004-01-22 21:26:41 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2004-01-22 21:26:41 +0000 |
commit | 001cd6313323bd8b86323750d54f1f87afe40036 (patch) | |
tree | 33fe303077eb17ce1d12583da9a7797d9f338936 | |
parent | 1fdea8077aa73fac8d966ce74ffe7910dc163efb (diff) | |
download | FreeBSD-src-001cd6313323bd8b86323750d54f1f87afe40036.zip FreeBSD-src-001cd6313323bd8b86323750d54f1f87afe40036.tar.gz |
Fix SYNOPSIS of manual page, clustering no-arg options correctly.
Sync usage with manpage.
-rw-r--r-- | usr.bin/script/script.1 | 4 | ||||
-rw-r--r-- | usr.bin/script/script.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1 index 5e25d90..bf7f1d2 100644 --- a/usr.bin/script/script.1 +++ b/usr.bin/script/script.1 @@ -40,9 +40,7 @@ .Nd make typescript of terminal session .Sh SYNOPSIS .Nm -.Op Fl a -.Op Fl k -.Op Fl q +.Op Fl akq .Op Fl t Ar time .Op Ar file Op command ... .Sh DESCRIPTION diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index 339439e..a00cdf2 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -210,7 +210,7 @@ static void usage(void) { (void)fprintf(stderr, - "usage: script [-a] [-q] [-k] [-t time] [file] [command]\n"); + "usage: script [-akq] [-t time] [file [command ...]]\n"); exit(1); } |