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

Flags #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Flags #21

wants to merge 2 commits into from

Conversation

kornypoet
Copy link
Contributor

The logic:

unless flag then @unknown_argvs << flag ; next ; end

does not work correctly. Only when the condition is met will flag be added to @unknown_argvs, however, in order for the condition to be met, flag must be nil, which then stores a nil value in @unknown_argvs. This will not help indicate any unknown flags that may have been passed on the command line.

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.

None yet

1 participant