summaryrefslogtreecommitdiffstats
path: root/usr.bin/what
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-05-29 13:33:48 +0000
committertjr <tjr@FreeBSD.org>2002-05-29 13:33:48 +0000
commiteac28cf68c02b2c30a4e595b5656613ae0090367 (patch)
tree128f3bd68ee75e8f90cf4a1b508ab601931cca02 /usr.bin/what
parent3539ebd46fd99060ef4f90c0c238b8481aed1669 (diff)
downloadFreeBSD-src-eac28cf68c02b2c30a4e595b5656613ae0090367.zip
FreeBSD-src-eac28cf68c02b2c30a4e595b5656613ae0090367.tar.gz
Sync synopsis with reality: file arguments are optional.
Diffstat (limited to 'usr.bin/what')
-rw-r--r--usr.bin/what/what.12
-rw-r--r--usr.bin/what/what.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/what/what.1 b/usr.bin/what/what.1
index bc46891..7bf38b2 100644
--- a/usr.bin/what/what.1
+++ b/usr.bin/what/what.1
@@ -42,7 +42,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl s
-.Ar file Ar ...
+.Op Ar file Ar ...
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.bin/what/what.c b/usr.bin/what/what.c
index c7e953a..65bdb13 100644
--- a/usr.bin/what/what.c
+++ b/usr.bin/what/what.c
@@ -92,7 +92,7 @@ main(argc, argv)
static void
usage()
{
- (void)fprintf(stderr, "usage: what [-s] file ...\n");
+ (void)fprintf(stderr, "usage: what [-s] [file ...]\n");
exit(1);
}
OpenPOWER on IntegriCloud