From 5c4a526388e5d45f332d241b03114eaff98c53ce Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 28 Nov 2016 00:50:25 +0100 Subject: cmdline-opts: more command line options documented Moved over to the new format --- docs/cmdline-opts/resolve.d | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/cmdline-opts/resolve.d (limited to 'docs/cmdline-opts/resolve.d') diff --git a/docs/cmdline-opts/resolve.d b/docs/cmdline-opts/resolve.d new file mode 100644 index 000000000..ba3967a14 --- /dev/null +++ b/docs/cmdline-opts/resolve.d @@ -0,0 +1,17 @@ +Long: resolve +Arg: +Help: Resolve the host+port to this address +Added: 7.21.3 +--- +Provide a custom address for a specific host and port pair. Using this, you +can make the curl requests(s) use a specified address and prevent the +otherwise normally resolved address to be used. Consider it a sort of +/etc/hosts alternative provided on the command line. The port number should be +the number used for the specific protocol the host will be used for. It means +you need several entries if you want to provide address for the same host but +different ports. + +The provided address set by this option will be used even if --ipv4 or --ipv6 +is set to make curl use another IP version. + +This option can be used many times to add many host names to resolve. -- cgit v1.2.3