mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Error handling
- Validates specified columns in custom reports against list of good column names. - Validates list of sort columns in custom reports against list of specified column names. - Minor fix to grammar file.
This commit is contained in:
parent
4e63d93005
commit
1a4469d388
3 changed files with 61 additions and 3 deletions
|
@ -103,6 +103,8 @@ std::string handleReportOldest (TDB&, T&, Config&);
|
|||
std::string handleReportNewest (TDB&, T&, Config&);
|
||||
|
||||
std::string handleCustomReport (TDB&, T&, Config&, const std::string&);
|
||||
void validReportColumns (const std::vector <std::string>&);
|
||||
void validSortColumns (const std::vector <std::string>&, const std::vector <std::string>&);
|
||||
|
||||
// util.cpp
|
||||
bool confirm (const std::string&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue