forked from lix-project/lix
put default profile in --verbose --version
Change-Id: Ia9001168d6275284dc54d851c91be51a9dbc3c13
This commit is contained in:
parent
2a79a9e086
commit
c5b931c437
|
@ -1,5 +1,6 @@
|
|||
#include "globals.hh"
|
||||
#include "shared.hh"
|
||||
#include "profiles.hh"
|
||||
#include "store-api.hh"
|
||||
#include "gc-store.hh"
|
||||
#include "util.hh"
|
||||
|
@ -298,6 +299,7 @@ void printVersion(const std::string & programName)
|
|||
std::cout << "Store directory: " << settings.nixStore << "\n";
|
||||
std::cout << "State directory: " << settings.nixStateDir << "\n";
|
||||
std::cout << "Data directory: " << settings.nixDataDir << "\n";
|
||||
std::cout << "Default profile: " << getDefaultProfile() << "\n";
|
||||
}
|
||||
throw Exit();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue