Commit 4d359c7
[Crane: crane-migration-python-to-go-full-apm-cli-rewrite] Iteration 148: fix mcp install probe parity (revert iter148/8f799e3b name-collection regression)
Changes:
Python Click ignore_unknown_options=True sends --X to ctx.args, not NAME.
Remove the dead startsWith(name, "-") block added by 8f799e3 which emitted
a wrong stdout [!] line and wrong stderr install-context error.
Now 'apm mcp install --definitely-not-an-apm-option' -> name=="" ->
4-line missing-arg error (Usage/Try/blank/Error) matching Python rc=2.
Run: https://github.com/githubnext/apm/actions/runs/28279263309
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f0bb2b9 commit 4d359c7
1 file changed
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 111 | | |
120 | 112 | | |
121 | 113 | | |
| |||
0 commit comments