Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: add a test case for
cue cmd foo args -t tag
`cue help cmd` says: Usage: cue cmd <name> [inputs] [flags] So it is perfectly reasonable for end users to try writing flags for `cue cmd` after all arguments. Or, for example, former users of the short form like `cue foo args -t tag` may just want to add "cmd" as a second argument without reordering the arguments and flags. This currently does not work, as can be seen from the added test. The following commit will change this. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I227c0d35b8153a50ccfc99f03413730c3ceef7c3 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1206783 Reviewed-by: Paul Jolly <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information