expectArg(): Respect the 'optional' flag

This commit is contained in:
Eelco Dolstra committed 2020-09-25 10:27:40 +02:00
1 parent 2e5ff87d0e
commit 7b2ae472ff
1 file changed
+1 -1
+1 -1
View File
@@ -192,7 +192,7 @@ public:
{
expectArgs({
.label = label,
.optional = true,
.optional = optional,
.handler = {dest}
});
}