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

--netrc confusingly takes a path, not path+file, to .netrc #43

Open
TJC opened this issue Jun 16, 2016 · 0 comments
Open

--netrc confusingly takes a path, not path+file, to .netrc #43

TJC opened this issue Jun 16, 2016 · 0 comments

Comments

@TJC
Copy link

TJC commented Jun 16, 2016

I assumed that I could run --netrc /path/to/netrc

However this results in the error: "Could not open /path/to/netrc/.netrc"

I think it'd be more sensible if --netrc took the complete path+file, which is how everything else on the planet works.

If you want to keep backwards compatibility, you could try opening the literal --netrc parameter, and if it doesn't exist, check for a parameter+"/.netrc" too.

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