]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
grep: Fix an incorrect description of the -C flag
authorMateusz Piotrowski <0mp@FreeBSD.org>
Fri, 5 Feb 2021 18:38:09 +0000 (19:38 +0100)
committerMateusz Piotrowski <0mp@FreeBSD.org>
Sun, 15 Aug 2021 21:08:29 +0000 (23:08 +0200)
commit90146cfa3180ee6f8e183f3fb31cdde2e4fc6417
treef5e27214726fc9ea9c8c6082fd89b9f3ef6e618c
parentb58a13b94c99a5c505bc24ca705111585d1b6759
grep: Fix an incorrect description of the -C flag

It seems that the number of lines is no longer an optional parameter to
the -C flag. Document it accordingly both in the manual page and the
usage message.

Reviewed by: yuripv
Approved by: yuripv
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28509

(cherry picked from commit be6b8b7a3a18acb3b044e144d946392fca05e5d0)
usr.bin/grep/grep.1
usr.bin/grep/grep.c