bump the extra --version info from info to notice, -vv -> -v

requiring *two* --verbose to print extra information on --version is a
weird flex

Change-Id: I05d043da1bf583f34e9d1fc206144ea4ca9a859d
This commit is contained in:
Qyriad 2024-05-10 11:55:17 -06:00
parent ceccac835c
commit d003dcd7f4

View file

@ -282,7 +282,7 @@ void parseCmdLine(const std::string & programName, const Strings & args,
void printVersion(const std::string & programName) void printVersion(const std::string & programName)
{ {
std::cout << fmt("%1% (Lix, like Nix) %2%", programName, nixVersion) << std::endl; std::cout << fmt("%1% (Lix, like Nix) %2%", programName, nixVersion) << std::endl;
if (verbosity > lvlInfo) { if (verbosity > lvlNotice) {
Strings cfg; Strings cfg;
#if HAVE_BOEHMGC #if HAVE_BOEHMGC
cfg.push_back("gc"); cfg.push_back("gc");