mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Verbosity: Fix "project" info not showing
- Make "project" verbosity imply "footnote", since verbose project info is shown using footnotes. Fixes failing test in verbose.t. - Convert "verbosity" variable to std::set for increased readability.
This commit is contained in:
parent
124f1fe4c8
commit
ae692e07a6
6 changed files with 63 additions and 21 deletions
|
@ -27,6 +27,7 @@
|
|||
#ifndef INCLUDED_TEXT
|
||||
#define INCLUDED_TEXT
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -39,6 +40,7 @@ std::string unquoteText (const std::string&);
|
|||
int longestWord (const std::string&);
|
||||
int longestLine (const std::string&);
|
||||
bool extractLine (std::string&, const std::string&, int, bool, unsigned int&);
|
||||
void split (std::set<std::string>&, const std::string&, const char);
|
||||
void split (std::vector<std::string>&, const std::string&, const char);
|
||||
void split (std::vector<std::string>&, const std::string&, const std::string&);
|
||||
void join (std::string&, const std::string&, const std::vector<std::string>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue