CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2019/07/18 09:32:50
Modified files: usr.bin/grep : grep.1 grep.c Log message: Delete documentation of --max-count, which is merely an alias of the documented -m. As a rule, we only document long options when users can't avoid them because they lack a short version. As suggested by tedu@, as an exception, leave --context documented because -C is awkward in so far as it takes an optional option argument, which is fragile and error-prone and hence generally discouraged, including by POSIX. Two years ago, kettenis@, deraadt@, and tedu@ all agreed that this is what should be done, and jmc@ was happy to accept the direction, but somehow everybody forgot to commit.