docker-volume-netshare icon indicating copy to clipboard operation
docker-volume-netshare copied to clipboard

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

Open TJC opened this issue 8 years ago • 0 comments

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.

TJC avatar Jun 16 '16 04:06 TJC