about summary refs log tree commit diff
path: root/src/libmain/common-args.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/common-args.cc')
-rw-r--r--src/libmain/common-args.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmain/common-args.cc b/src/libmain/common-args.cc
index 54dbb1da3ca8..9219f380c74f 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);