mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 13:06:01 +01:00
Use enum struct and drop prefixes
This does a few enums; the rest will be gotten in subsequent commits.
This commit is contained in:
parent
eb1911e277
commit
87b32bab05
57 changed files with 382 additions and 354 deletions
|
|
@ -251,7 +251,7 @@ void parseCmdLine(const string & programName, const Strings & args,
|
|||
void printVersion(const string & programName)
|
||||
{
|
||||
std::cout << format("%1% (Nix) %2%") % programName % nixVersion << std::endl;
|
||||
if (verbosity > lvlInfo) {
|
||||
if (verbosity > Verbosity::Info) {
|
||||
Strings cfg;
|
||||
#if HAVE_BOEHMGC
|
||||
cfg.push_back("gc");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue