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:
Wilhelm Schuermann 2015-06-07 14:54:31 +02:00
parent 124f1fe4c8
commit ae692e07a6
6 changed files with 63 additions and 21 deletions

View file

@ -37,6 +37,7 @@
#include <FS.h>
#include <CLI.h>
#include <Timer.h>
#include <set>
class Context
{
@ -95,7 +96,7 @@ public:
bool run_gc;
bool verbosity_legacy;
std::vector <std::string> verbosity;
std::set <std::string> verbosity;
std::vector <std::string> headers;
std::vector <std::string> footnotes;
std::vector <std::string> errors;