mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #403
- Fixed bug #403, which disambiguates certain commands involving numbers.
This commit is contained in:
parent
6009507209
commit
523173e27e
2 changed files with 2 additions and 6 deletions
|
@ -82,6 +82,7 @@
|
|||
'burndown' charts.
|
||||
|
||||
# Tracked Bugs, sorted by ID.
|
||||
+ Fixed bug #403, which disambiguates certain commands involving numbers.
|
||||
+ Fixed bug #475, which allowed a blank annotation command to be entered
|
||||
(thanks to Andreas Kalex).
|
||||
+ Fixed bug #511, which caused display problem on Cygwin when colored output
|
||||
|
|
|
@ -1583,6 +1583,7 @@ Arguments Arguments::extract_modifications ()
|
|||
arg->_third == "attr" ||
|
||||
arg->_third == "subst" ||
|
||||
arg->_third == "op" ||
|
||||
arg->_third == "exp" ||
|
||||
arg->_third == "word")
|
||||
{
|
||||
// "limit" is special - it is recognized but not included in filters.
|
||||
|
@ -1603,12 +1604,6 @@ Arguments Arguments::extract_modifications ()
|
|||
+ arg->_first
|
||||
+ "' is not allowed when modifiying a task.";
|
||||
|
||||
// TODO Really?
|
||||
else if (arg->_third == "exp")
|
||||
throw std::string ("An expression '")
|
||||
+ arg->_first
|
||||
+ "' is not allowed when modifiying a task.";
|
||||
|
||||
else if (arg->_third == "id")
|
||||
throw std::string ("A task id cannot be modified.");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue