diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-09-25 10:27:40 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-09-25 10:27:40 +0200 |
commit | 7b2ae472ff05a39cd635ac10dbbce3cd17b60c93 (patch) | |
tree | d5cd730a998d2c88aa908f4fb5262a9ea9943c5b /src/libutil/args.hh | |
parent | 2e5ff87d0ea30561633ea5abd0c03c164de2894f (diff) |
expectArg(): Respect the 'optional' flag
Diffstat (limited to 'src/libutil/args.hh')
-rw-r--r-- | src/libutil/args.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/args.hh b/src/libutil/args.hh index 3c1f87f7e..f41242e17 100644 --- a/src/libutil/args.hh +++ b/src/libutil/args.hh @@ -192,7 +192,7 @@ public: { expectArgs({ .label = label, - .optional = true, + .optional = optional, .handler = {dest} }); } |