expectArg(): Respect the 'optional' flag

This commit is contained in:
Eelco Dolstra 2020-09-25 10:27:40 +02:00
parent 2e5ff87d0e
commit 7b2ae472ff
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

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