about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-25T12·31+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-25T12·31+0100
commitc5bc57186192277b42746bbfba7bb799d9246da3 (patch)
treeef7db0540e251c391450d0c9d9026e0240a5df64
parent7873cfb18df352d75628ea8f6f426a0c8e066ab7 (diff)
Fix short boolean flags
-rw-r--r--src/libutil/args.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/args.hh b/src/libutil/args.hh
index 0c7729d0b6b1..4469a046d28a 100644
--- a/src/libutil/args.hh
+++ b/src/libutil/args.hh
@@ -86,7 +86,7 @@ public:
     void mkFlag(char shortName, const std::string & name,
         const std::string & description, bool * dest)
     {
-        mkFlag(0, name, description, dest, true);
+        mkFlag(shortName, name, description, dest, true);
     }
 
     void mkFlag(char shortName, const std::string & longName,