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
F163144321: D28509.id87632.diff
Mon, Jul 20, 12:13 PM
Unknown Object (File)
Sat, Jul 18, 6:17 AM
Unknown Object (File)
Sun, Jul 12, 8:45 PM
Unknown Object (File)
Fri, Jul 10, 11:02 PM
Unknown Object (File)
Fri, Jul 10, 3:51 PM
Unknown Object (File)
Sun, Jun 28, 6:38 PM
Unknown Object (File)
Sat, Jun 27, 12:02 AM
Unknown Object (File)
Tue, Jun 23, 10:50 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.