Skip to content

feat: add -p shorthand for --priority in update command#103

Open
alexesprit wants to merge 1 commit intomarcus:mainfrom
alexesprit:add-priority-shorthand-to-update
Open

feat: add -p shorthand for --priority in update command#103
alexesprit wants to merge 1 commit intomarcus:mainfrom
alexesprit:add-priority-shorthand-to-update

Conversation

@alexesprit
Copy link
Copy Markdown

td create supports -p as a shorthand for --priority (via StringP), but td update only registers the long form (String). Since -p is unused in the update command, there is no conflict.

This change:

  • Switches update.go flag registration from String to StringP with "p" shorthand
  • Also aligns the help text to list valid values (P0, P1, P2, P3, P4), matching create

@alexesprit alexesprit changed the title Add -p shorthand for --priority in update command feat: add -p shorthand for --priority in update command Apr 2, 2026
@alexesprit alexesprit force-pushed the add-priority-shorthand-to-update branch from 1e03cd5 to 7867bf1 Compare April 2, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant