dotconf icon indicating copy to clipboard operation
dotconf copied to clipboard

No support for empty string options?

Open sthibaul opened this issue 7 years ago • 1 comments

In speech dispatcher, we use string options which can have an empty value, which we write "". It seems that dotconf doesn't support it:

GenericPunctNone ""

yields to

Missing argument to option 'GenericPunctNone'

sthibaul avatar Nov 09 '18 12:11 sthibaul

Is

return buf[0] ? strdup(buf) : NULL;

really on purpose? That prevents from being able to pass empty string, is there really a use case for doing this?

sthibaul avatar Nov 09 '18 12:11 sthibaul