Correctly print the unknown command name
Before adoption: this commit came in with the history the project adopted, so no landing records it.
by now, if someone calls: `program --validflag unknowncommand` the output will be: ``` Error: unknown command "--validflag" Run 'program help' for usage. ``` This patch strips out flags so the unknown command is printed: ``` Error: unknown command "unknowncommand" Run 'program help' for usage. ```
authored by Simone Gotti · committed by Simone Gotti · parent 3120920 · Browse files · 2 files+6 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+6 added−1 removed
- other:+6 added−1 removed