Page MenuHomeFreeBSD

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

Authored by 0mp on Feb 5 2021, 6:40 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.