Repository navigation
Commit f801082
fix(cli): name the synopsis for an argument error that escapes runCli
The top-level rejection handler printed an INVALID_ARGS failure without
argv, so it never named the command's synopsis. It now passes argv as
the parse-failure path does. ADR 0010 says the synopsis comes with an
argument error for a known command; the help-target failures have none.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 3bb00a6 commit f801082
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | | - | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
919 | 922 | | |
920 | 923 | | |
921 | 924 | | |
| |||
0 commit comments