mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- ::add needed to clear ::_id_ranges and ::_uuid_list so that ::analyze can repopulate them.
This commit is contained in:
parent
d5e6aa7640
commit
b1b40cacc1
1 changed files with 4 additions and 0 deletions
|
@ -267,6 +267,10 @@ void CLI::initialize (int argc, const char** argv)
|
|||
// Capture a single argument, and recalc everything.
|
||||
void CLI::add (const std::string& arg)
|
||||
{
|
||||
// Clean the ID/UUID lists, because they will be rebuilt.
|
||||
_id_ranges.clear ();
|
||||
_uuid_list.clear ();
|
||||
|
||||
addArg (arg);
|
||||
analyze ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue