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)
Wed, Aug 19, 11:36 AM
Unknown Object (File)
Tue, Aug 4, 9:40 AM
Unknown Object (File)
Tue, Aug 4, 7:19 AM
Unknown Object (File)
Mon, Aug 3, 4:46 AM
Unknown Object (File)
Jul 24 2026, 8:51 PM
Unknown Object (File)
Jul 22 2026, 11:31 PM
Unknown Object (File)
Jul 22 2026, 2:05 PM
Unknown Object (File)
Jul 21 2026, 2:08 AM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36743
Build 33632: arc lint + arc unit

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.