summaryrefslogtreecommitdiffstats
path: root/usr.bin/head/head.c
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-01-24 22:27:50 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-01-24 22:27:50 +0000
commitffdbedf4c82a1909d4c3a55c6ab7f5f009a9b18a (patch)
tree8e7c10c39711659f38833c62c0506a70ba3a08bb /usr.bin/head/head.c
parenta76b3153c40bb767937d3563f26f668f58aadfc0 (diff)
downloadFreeBSD-src-ffdbedf4c82a1909d4c3a55c6ab7f5f009a9b18a.zip
FreeBSD-src-ffdbedf4c82a1909d4c3a55c6ab7f5f009a9b18a.tar.gz
Make usage message and man page synopsis reflect the fact that -n
and -c are mutually exclusive. PR: 34233 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 3 days
Diffstat (limited to 'usr.bin/head/head.c')
-rw-r--r--usr.bin/head/head.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/head/head.c b/usr.bin/head/head.c
index 6af287c1..94d99f9 100644
--- a/usr.bin/head/head.c
+++ b/usr.bin/head/head.c
@@ -186,6 +186,6 @@ void
usage()
{
- (void)fprintf(stderr, "usage: head [-n lines] [-c bytes] [file ...]\n");
+ (void)fprintf(stderr, "usage: head [-n lines | -c bytes] [file ...]\n");
exit(1);
}
OpenPOWER on IntegriCloud