mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
2 changed files with 5 additions and 3 deletions
|
|
@ -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 a new issue