diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-09 21:28:29 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-09 21:28:29 +0100 |
commit | cd2196b08981a96cf607ad4a8f2f0dfa8cdf2add (patch) | |
tree | b8f213b8790dc55812dae9fd1403bb352ccad0e2 /src/libmain | |
parent | 0db9e6cd1af299f7d65e0b99019f0ccdbb1aaf3f (diff) |
Start of new Nix command-line interface
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/common-args.cc | 1 | ||||
-rw-r--r-- | src/libmain/common-args.hh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libmain/common-args.cc b/src/libmain/common-args.cc index 54dbb1da3..9219f380c 100644 --- a/src/libmain/common-args.cc +++ b/src/libmain/common-args.cc @@ -4,6 +4,7 @@ namespace nix { MixCommonArgs::MixCommonArgs(const string & programName) + : programName(programName) { mkFlag('v', "verbose", "increase verbosity level", []() { verbosity = (Verbosity) (verbosity + 1); diff --git a/src/libmain/common-args.hh b/src/libmain/common-args.hh index 62657e0d0..2c0d71edd 100644 --- a/src/libmain/common-args.hh +++ b/src/libmain/common-args.hh @@ -6,6 +6,7 @@ namespace nix { struct MixCommonArgs : virtual Args { + string programName; MixCommonArgs(const string & programName); }; |