This commit 244106 implemented -T and -W options but -R was added to the manual page (.Sh SYNOPSIS).
Details
Details
- Reviewers
cem bcr brooks dab 0mp imp ygy - Group Reviewers
manpages - Commits
- rS344114: MFC r343930:
rS343930: Remove -R option which was added to sysctl(8) man page per r244106, but it is…
% sysctl -Ra sysctl: illegal option -- R usage: sysctl [-bdehiNnoqTtWx] [ -B <bufsize> ] [-f filename] name[=value] ... sysctl [-bdehNnoqTtWx] [ -B <bufsize> ] -a
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I think it should be NRTbdehnotqx, shouldn't it? I'm sure most of our manpages are like that.
Comment Actions
It depends. ls(1) has -ABab while grep(1) has -AaBb. Personally, I prefer -AaBb. It's also what the example for the Fl macro suggests in mdoc(7):
.Op Fl 1AaCcdFfgHhikLlmnopqRrSsTtux
Comment Actions
The official style is AaBbCc not ABCabc. This is true for both the usage() message in the program and the usage in the man page. longopts are a total crap shoot, we have no standard for those, but single letter ops are well known: alphabetical order, with the upper case of the letter immediately before the lower case.