-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
Summary
-p is a short flag for both --parent and --priority in linear issue create. When both are used in the same command, the CLI errors with:
error: Option "--parent" can only occur once, but was found several times.
Reproduction
linear issue create --team LIL -t "Test" -d "desc" -s "Todo" -p 2 --parent LIL-220The -p 2 is intended as --priority 2, but the CLI interprets it as a second --parent flag.
Expected behavior
Either:
-pshould be assigned to only one of the two options (and the other gets a different short flag or none)- Or the CLI should detect the ambiguity and provide a clear error message
Workaround
Use the long form --priority explicitly:
linear issue create --team LIL -t "Test" -d "desc" -s "Todo" --priority 2 --parent LIL-220Environment
- linear-cli version: 1.10.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels