about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-09-25T11·25+0200
committerEelco Dolstra <edolstra@gmail.com>2017-09-25T11·25+0200
commite350671737fc7bb1093cc89cc89ec9884dbbb6c2 (patch)
tree7d4da0d079b59236715df2c603eb644581a08754
parent84f112b1c8d3c5181b7a9b11d309f14f1709480d (diff)
Doh
-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 401bebbabc08..37e31825ab37 100644
--- a/src/libutil/args.hh
+++ b/src/libutil/args.hh
@@ -90,7 +90,7 @@ public:
 
         template<class T>
         FlagMaker & set(T * dest, const T & val) {
-            flag->arity = 1;
+            flag->arity = 0;
             flag->handler = [=](Strings ss) { *dest = val; };
             return *this;
         };