Since we don't set opterr to 0, getopt prints a message when it
encounters an unknown/invalid option. We therefore don't need to
print our own message in the default handler.
Details
Details
Before:
% dtc -z
dtc: illegal option -- z
Unknown option ?
After:
% dtc -z
dtc: illegal option -- z
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 29357 Build 27256: arc lint + arc unit
Event Timeline
Comment Actions
Oh I was wondering if there was an upstream!
It's a pseudo-upstream - we don't bring it in via vendor/, but @theraven uses the git repo to coordinate development.
Comment Actions
I'd be tempted to drop this one since the other message is more informative -- adding David.
Comment Actions
This looks fine, but please submit it as a GitHub PR so that it goes through CI (I can't imagine it failing).