mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI
- Added comma (,) to the set of acceptable characters for a UUID list.
This commit is contained in:
parent
7f61bcecca
commit
c8f49bcafb
1 changed files with 3 additions and 3 deletions
|
@ -881,7 +881,7 @@ void CLI::unsweetenUUIDs ()
|
|||
std::string raw = a->attribute ("raw");
|
||||
|
||||
// UUIDs have a limited character set.
|
||||
if (raw.find_first_not_of ("0123456789abcdefABCDEF-") == std::string::npos)
|
||||
if (raw.find_first_not_of ("0123456789abcdefABCDEF-,") == std::string::npos)
|
||||
{
|
||||
Nibbler n (raw);
|
||||
std::vector <std::string> uuidList;
|
||||
|
@ -920,7 +920,7 @@ void CLI::unsweetenUUIDs ()
|
|||
|
||||
A uuid ("argSeq", "uuid");
|
||||
uuid.tag ("FILTER");
|
||||
uuid.tag ("UUID");
|
||||
uuid.tag ("ATTR");
|
||||
reconstructed.push_back (uuid);
|
||||
|
||||
A equal ("argSeq", "=");
|
||||
|
@ -930,7 +930,7 @@ void CLI::unsweetenUUIDs ()
|
|||
|
||||
A value ("argSeq", "'" + *u + "'");
|
||||
value.tag ("FILTER");
|
||||
value.tag ("LITERAL");
|
||||
value.tag ("STRING");
|
||||
reconstructed.push_back (value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue