Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for empty string options? #5

Open
sthibaul opened this issue Nov 9, 2018 · 1 comment
Open

No support for empty string options? #5

sthibaul opened this issue Nov 9, 2018 · 1 comment

Comments

@sthibaul
Copy link

sthibaul commented Nov 9, 2018

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
Copy link
Author

sthibaul commented Nov 9, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant