- Exit with an error if no path is specified.
- Man page typo.
- Error message typo.
Details
Details
- Reviewers
kib - Group Reviewers
manpages - Commits
- rS365749: Fix some posixshmcontrol nits.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 33462 Build 30742: arc lint + arc unit
Event Timeline
Comment Actions
I do not object against returning error if subcommand is not specified, or if no path is given, but why ?
Comment Actions
The usage message implies that at least one path must be given. I think it is also more conventional to return an error instead of silently doing nothing, and it helps catch bugs (e.g., someone writes "posixshmcontrol create $foo" in a shell script but forgets to assign to foo). Indeed, I noticed because in some manual testing I made a similar mistake.