mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- Removed inverted range error, and instead the parser just downgrades from an ID range to unknown.
This commit is contained in:
parent
0ac751c94d
commit
66c303daef
8 changed files with 4 additions and 8 deletions
|
@ -1379,7 +1379,10 @@ void CLI::findIDs ()
|
|||
n_max.depleted ())
|
||||
{
|
||||
if (id_min > id_max)
|
||||
throw std::string (STRING_PARSER_RANGE_INVERTED);
|
||||
{
|
||||
is_an_id = false;
|
||||
break;
|
||||
}
|
||||
|
||||
ranges.push_back (std::pair <int, int> (id_min, id_max));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue