about summary refs log tree commit diff
path: root/src/libutil/args.hh
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 /src/libutil/args.hh
parent84f112b1c8d3c5181b7a9b11d309f14f1709480d (diff)
Doh
Diffstat (limited to 'src/libutil/args.hh')
-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;
         };