You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): rename run's positional to bin, which frees --target
The collision was real — `mcpp run q` became `mcpp run --target=q` — but
retreating to `--target-triple` on this one subcommand paid for it with a
lasting inconsistency.
The actual cause is narrower than "one word, two axes": ParsedArgs::value()
falls back from an unset option to a positional OF THE SAME NAME, and that
positional was named `target`. cmd_run never reads the name (it takes
positional(0) by index) — it only labels the slot in --help, where `bin` is
the more accurate word.
So `--target` works on `run` like everywhere else, `--target-triple` stays as
an alias because it shipped in 2026.8.19.1, and e2e/130 now pins both
spellings while e2e/73 pins the positional.
0 commit comments