* fix(#2201): accept --phase N flag in the phase verb family (complete, list-plans) The phase family router treated the first positional (args[2]) as the phase number, so `phase complete --phase 12` passed the literal '--phase' as the phase → 'Phase --phase not found'. The state family already accepted --phase N. Now complete and list-plans accept --phase N (and --phase=N) as well as the bare positional; unrecognized flags yield a usage error naming the accepted form. Closes #2201 * docs(#2201): add changeset fragment * docs(#2201): backfill PR number
This commit is contained in:
5
.changeset/clever-eagles-romp.md
Normal file
5
.changeset/clever-eagles-romp.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
type: Fixed
|
||||
pr: 2231
|
||||
---
|
||||
**`phase complete --phase N` now works alongside the positional form** — the phase verb family treated the first positional as the phase number, so `--phase 12` was passed as the literal phase name and failed with 'Phase --phase not found'. The phase family now accepts the --phase flag consistently with the state family, and unrecognized flags yield a usage error. (#2201)
|
||||
Reference in New Issue
Block a user