- Add the missing option 'n' to the getopt(3) string
- Add the missing options 'libxo' and 'N' to the usage message
- Add the missing options 'M' and 'N' to the man-page
Details
Details
- Reviewers
brooks - Group Reviewers
manpages - Commits
- rS320169: MFC r318968:
rS318968: Add missing usage and getopt(3) options
The man-page's usage section, the usage message, the getopt(3)
string, and its switch statement were checked against eachother.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 9512 Build 9961: arc lint + arc unit
Event Timeline
usr.bin/procstat/procstat.c | ||
---|---|---|
59 | At the risk of making usage longer, I think keeping [-a | pid | core ...] on it's own line is clearer. | |
168 | 'L' should come before 'l'. style(9) says the case statements should also be sorted, but I know that will create conflicts with D10916 so let's fix that after landing that change. |
Comment Actions
- Move the last arguments of usage to a separate line
- Correct the order of 'L' and 'l' in the getopt string