mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
CLI
- Added a strict analysis mode that throws errors. In non-strict mode no errors are thrown because parsing is incomplete most of the time, and only the final pass needs to be strict.
This commit is contained in:
parent
11d210a7c7
commit
b9b998c769
3 changed files with 10 additions and 8 deletions
|
@ -73,7 +73,7 @@ public:
|
|||
void entity (const std::string&, const std::string&);
|
||||
void initialize (int, const char**);
|
||||
void add (const std::string&);
|
||||
void analyze (bool parse = true);
|
||||
void analyze (bool parse = true, bool strict = false);
|
||||
void applyOverrides ();
|
||||
void getOverride (std::string&, File&);
|
||||
void getDataLocation (Path&);
|
||||
|
@ -132,6 +132,7 @@ public:
|
|||
|
||||
std::vector <std::pair <int, int> > _id_ranges;
|
||||
std::vector <std::string> _uuid_list;
|
||||
bool _strict;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue