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

allow parameters to be specified in any order #16

Open
javier-lopez opened this issue Sep 11, 2019 · 0 comments

Comments

@javier-lopez
Copy link
Member

commented Sep 11, 2019

Been testing a little, static-get -p /tmp/opt -i htop works great, but specifying the parameters in a different order doesn't work:

❯ ./static-get -i htop -p /tmp/opt              
Option '-p' requires a parameter -p   

I get the same issue using the other possible options (such as -d), perhaps it's an issue with how the arguments are handled?

The accepted PR should fix this behaviour and add test coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.