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

Man page issue about ipv4 and ipv6 overriding #3171

Closed
Alexxz opened this Issue Oct 25, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@Alexxz
Contributor

Alexxz commented Oct 25, 2018

I did this

man curl

   -4, --ipv4
          This option tells curl to resolve names to IPv4 addresses only, and not for example try IPv6.

          See also --http1.1 and --http2. This option overrides -6, --ipv6.

   -6, --ipv6
          This option tells curl to resolve names to IPv6 addresses only, and not for example try IPv4.

          See also --http1.1 and --http2. This option overrides -6, --ipv6.

I expected the following

I expected that -6 option overrides -4 and --ipv4 options but not itself

curl/libcurl version

any latest including https://curl.haxx.se/docs/manpage.html

operating system

any

Alexxz added a commit to Alexxz/curl that referenced this issue Oct 25, 2018

bagder added a commit that referenced this issue Oct 25, 2018

cmdline-opts/ipv6.d: fix mutexed on ipv4
Reported-by: Alexxz on github
Fixes #3171

@bagder bagder closed this in bbce45f Oct 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment