mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 11:27:19 +02:00
CLI
- Stubbed ::unsweetenUUIDs.
This commit is contained in:
parent
c4bb9fbc96
commit
60d356f009
2 changed files with 21 additions and 0 deletions
20
src/CLI.cpp
20
src/CLI.cpp
|
@ -283,6 +283,7 @@ void CLI::analyze ()
|
||||||
unsweetenAttributeModifiers ();
|
unsweetenAttributeModifiers ();
|
||||||
unsweetenPatterns ();
|
unsweetenPatterns ();
|
||||||
unsweetenIDs ();
|
unsweetenIDs ();
|
||||||
|
unsweetenUUIDs ();
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -867,6 +868,25 @@ void CLI::unsweetenIDs ()
|
||||||
_args = reconstructed;
|
_args = reconstructed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
void CLI::unsweetenUUIDs ()
|
||||||
|
{
|
||||||
|
std::vector <A> reconstructed;
|
||||||
|
std::vector <A>::iterator a;
|
||||||
|
for (a = _args.begin (); a != _args.end (); ++a)
|
||||||
|
{
|
||||||
|
if (a->hasTag ("FILTER"))
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
reconstructed.push_back (*a);
|
||||||
|
}
|
||||||
|
|
||||||
|
_args = reconstructed;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void CLI::dump (const std::string& label) const
|
void CLI::dump (const std::string& label) const
|
||||||
{
|
{
|
||||||
|
|
|
@ -82,6 +82,7 @@ private:
|
||||||
void unsweetenAttributeModifiers ();
|
void unsweetenAttributeModifiers ();
|
||||||
void unsweetenPatterns ();
|
void unsweetenPatterns ();
|
||||||
void unsweetenIDs ();
|
void unsweetenIDs ();
|
||||||
|
void unsweetenUUIDs ();
|
||||||
void dump (const std::string&) const;
|
void dump (const std::string&) const;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue