Can't (seem to figure out how to) modify priority on the CLI
axelsimon opened this issue · comments
axel simon commented
Hi and thanks for making dstask!
This is using v0.26.
The help for dstask modify
suggests the following syntax:
Usage: dstask <id...> modify <filter>
Usage: dstask modify <filter>
anld states:
Modifiable attributes: tags, project and priority.
But this is what happens:
$ dstask 18 modify P4
no operations specified
P4 is definitely a valid filter, as dstask P4
returns all tasks with priority 4.
Am i missing some subtlety here?
If so, can we remove the subtlety and make modifying priority the same as modifying tags? 😃
Cal Bryant commented
Valid priorities are P0 P1 P2 P3, there is no P4. It would be regarded as part of the task name. dstask 18 modify P3
is indeed syntactically correct
axel simon commented
Makes sense, thanks @naggie.