expectArg(): Respect the 'optional' flag

This commit is contained in:
Eelco Dolstra
2020-09-25 10:27:40 +02:00
parent 2e5ff87d0e
commit 7b2ae472ff

View File

@@ -192,7 +192,7 @@ public:
{
expectArgs({
.label = label,
.optional = true,
.optional = optional,
.handler = {dest}
});
}