From e350671737fc7bb1093cc89cc89ec9884dbbb6c2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 25 Sep 2017 13:25:55 +0200 Subject: Doh --- src/libutil/args.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 FlagMaker & set(T * dest, const T & val) { - flag->arity = 1; + flag->arity = 0; flag->handler = [=](Strings ss) { *dest = val; }; return *this; }; -- cgit 1.4.1