From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 16 Jul 2021 07:10:53 +0000 (-0400) Subject: docs/cmdline: mention what happens when used multiple times X-Git-Tag: curl-7_78_0~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85f54a150d4eb53e3aaf4c5fc94643e719a51296;p=thirdparty%2Fcurl.git docs/cmdline: mention what happens when used multiple times For --dns-ipv4-addr, --dns-ipv6-addr and --dns-servers Closes #7410 Closes #7411 Closes #7412 --- diff --git a/docs/cmdline-opts/dns-ipv4-addr.d b/docs/cmdline-opts/dns-ipv4-addr.d index 5ebdda5cad..0d7bae6f0e 100644 --- a/docs/cmdline-opts/dns-ipv4-addr.d +++ b/docs/cmdline-opts/dns-ipv4-addr.d @@ -10,3 +10,5 @@ Category: dns Tell curl to bind to when making IPv4 DNS requests, so that the DNS requests originate from this address. The argument should be a single IPv4 address. + +If this option is used several times, the last one will be used. diff --git a/docs/cmdline-opts/dns-ipv6-addr.d b/docs/cmdline-opts/dns-ipv6-addr.d index 10e8076461..a964dbb061 100644 --- a/docs/cmdline-opts/dns-ipv6-addr.d +++ b/docs/cmdline-opts/dns-ipv6-addr.d @@ -10,3 +10,5 @@ Category: dns Tell curl to bind to when making IPv6 DNS requests, so that the DNS requests originate from this address. The argument should be a single IPv6 address. + +If this option is used several times, the last one will be used. diff --git a/docs/cmdline-opts/dns-servers.d b/docs/cmdline-opts/dns-servers.d index 0ff26636c1..a0954b31f0 100644 --- a/docs/cmdline-opts/dns-servers.d +++ b/docs/cmdline-opts/dns-servers.d @@ -9,3 +9,5 @@ Set the list of DNS servers to be used instead of the system default. The list of IP addresses should be separated with commas. Port numbers may also optionally be given as *:* after each IP address. + +If this option is used several times, the last one will be used.