mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- Implemented A::unTagAll, to clear all tags.
This commit is contained in:
parent
5d790a07de
commit
371bb0a5b1
2 changed files with 7 additions and 0 deletions
|
@ -135,6 +135,12 @@ void A::unTag (const std::string& tag)
|
|||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void A::unTagAll ()
|
||||
{
|
||||
_tags.clear ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Accessor for attributes.
|
||||
void A::attribute (const std::string& name, const std::string& value)
|
||||
|
|
|
@ -45,6 +45,7 @@ public:
|
|||
bool hasTag (const std::string&) const;
|
||||
void tag (const std::string&);
|
||||
void unTag (const std::string&);
|
||||
void unTagAll ();
|
||||
void attribute (const std::string&, const std::string&);
|
||||
void attribute (const std::string&, const int);
|
||||
void attribute (const std::string&, const double);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue