mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-31 12:13:10 +00:00
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
This commit is contained in:
parent
9df24552a0
commit
ecca80bd97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89767
@ -40,8 +40,10 @@
|
||||
.Nd display first lines of a file
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl n Ar count
|
||||
.Op Fl c Ar bytes
|
||||
.Oo
|
||||
.Fl n Ar count |
|
||||
.Fl c Ar bytes
|
||||
.Oc
|
||||
.Op Ar
|
||||
.Sh DESCRIPTION
|
||||
This filter displays the first
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user