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

Parse positional argument and arcs with prefix always fail. #32

Open
lucasjinreal opened this issue Aug 10, 2017 · 0 comments
Open

Parse positional argument and arcs with prefix always fail. #32

lucasjinreal opened this issue Aug 10, 2017 · 0 comments

Comments

@lucasjinreal
Copy link

Hi, things is I want parse 2 bool args, but there is a positional arg, like this:

gofind ./ -d -f

./ is a positional arg, but once I add this , -d -f cannot parse which is default by false , so it should be true if set. But always false. How to parse them? and what if I want using

-d -f as -df just like tar -xvf?
Many thanks if can get a reply or advise!

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