Page MenuHomeFreeBSD

grep: Fix an incorrect description of the -C flag
ClosedPublic

Authored by 0mp on Feb 5 2021, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 14, 12:05 AM
Unknown Object (File)
Mon, Apr 13, 12:16 PM
Unknown Object (File)
Mon, Apr 13, 12:09 PM
Unknown Object (File)
Mon, Apr 13, 5:33 AM
Unknown Object (File)
Sat, Apr 11, 4:41 AM
Unknown Object (File)
Sat, Apr 11, 4:19 AM
Unknown Object (File)
Thu, Apr 9, 10:48 PM
Unknown Object (File)
Tue, Apr 7, 12:00 PM
Subscribers

Details

Summary

It seems that the number of lines is no longer an optional parameter to
the -C flag. Document it accordingly.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

0mp requested review of this revision.Feb 5 2021, 6:40 PM
yuripv added inline comments.
usr.bin/grep/grep.1
126
usr.bin/grep/grep.1
126

Actually, nevermind that, it seems the entire man page has = as part of option name, so let's keep it consistent.

Looks like usage message needs to be updated as well.

This revision is now accepted and ready to land.Feb 5 2021, 9:35 PM
This revision was automatically updated to reflect the committed changes.
0mp marked an inline comment as done.