Add flag -q/--quiet to suppress non-errors.

This commit is contained in:
Jakcron
2022-03-29 17:37:26 +08:00
parent b1629a4aa6
commit 0715b3d5b9
2 changed files with 22 additions and 6 deletions
+4 -2
View File
@@ -40,9 +40,9 @@ struct Settings
struct Options
{
bool info;
bool verbose;
bool plain;
bool raw;
bool verbose;
bool verify;
bool show_keys;
bool is_dev;
@@ -123,9 +123,9 @@ struct Settings
infile.path = tc::Optional<tc::io::Path>();
opt.info = true;
opt.verbose = false;
opt.plain = false;
opt.raw = false;
opt.verbose = false;
opt.verify = false;
opt.show_keys = false;
opt.is_dev = false;
@@ -168,6 +168,8 @@ private:
std::string mModuleLabel;
bool mSuppressOutput;
bool mShowKeys;
tc::Optional<std::string> mFallBackTitleKey;
tc::Optional<std::string> mFallBackSeed;