Commit 777e236
fix(parity): correct uninstall usage suffix in errcli.go
The cmdUsageSuffix map entry for 'apm uninstall' was missing '[OPTIONS]'.
Python Click 8.x emits:
Usage: apm uninstall [OPTIONS] PACKAGES...
Try 'apm uninstall --help' for help.
Error: No such option: --X
Go was emitting (with the wrong map entry):
Usage: apm uninstall PACKAGES...
...
Fixing the suffix to ' [OPTIONS] PACKAGES...' makes Go's reformatted
stderr match Python exactly, resolving PYTHON_CLI_CONTRACT_STATUS=1
for test_every_python_command_rejects_unknown_option_consistently[uninstall].
Run: https://github.com/githubnext/apm/actions/runs/28196994053
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 107b0a1 commit 777e236
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments