Skip to content

Add support for position arguments #47

Open
tony-jacobs wants to merge 10 commits intodocopt:masterfrom
tony-jacobs:master
Open

Add support for position arguments #47
tony-jacobs wants to merge 10 commits intodocopt:masterfrom
tony-jacobs:master

Conversation

@tony-jacobs
Copy link

I wanted this type of usage pattern to work:

myApp <filename> [--debug=LEVEL]

So, I enabled the argument processing. For some reason, the iteration included argv[0] (the launching program), so I skip that. I presume that bug is why command processing didn't work before either, but I don't have a use case for command processing, and didn't investigate that any further.

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.

1 participant