Skip to content

accept any value for options with required argument - #139

Merged
tflori merged 1 commit into
masterfrom
issue-136
Jan 22, 2019
Merged

accept any value for options with required argument#139
tflori merged 1 commit into
masterfrom
issue-136

Conversation

@tflori

@tflori tflori commented Jan 22, 2019

Copy link
Copy Markdown
Member

This resolves #136

Only for options with optional arguments we have to check if the next argument
is an argument or another option. This allows to start arguments with a hyphen
(or dash -) like GNUs getopt. For optional arguments starting with a hyphen
you still have to provide them within the argument --foo=-1.

This resolves #136

Only for options with optional arguments we have to check if the next argument
is an argument or another option. This allows to start arguments with a hyphen
(or dash `-`) like GNUs `getopt`. For optional arguments starting with a hyphen
you still have to provide them within the argument `--foo=-1`.
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 93c41d6 on issue-136 into 6d22d6f on master.

@tflori
tflori merged commit 9df490d into master Jan 22, 2019
@dregad
dregad deleted the issue-136 branch February 7, 2021 11:50
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

Successfully merging this pull request may close these issues.

Parsing fails on option-arguments beginning with a hyphen

2 participants