diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-28 01:01:13 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-28 09:53:15 +0100 |
commit | a387d881ecf1cfe8def1460fdf2faa3fdef66302 (patch) | |
tree | 58148de3354cb8522e90e42a95e6243a7543c8e9 /docs/cmdline-opts/url.d | |
parent | ac85f332f13f2e105e69d5f4b97c1787a824f637 (diff) |
cmdline-docs: more options converted and fixed
Now all options are in the new system.
Diffstat (limited to 'docs/cmdline-opts/url.d')
-rw-r--r-- | docs/cmdline-opts/url.d | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/cmdline-opts/url.d b/docs/cmdline-opts/url.d new file mode 100644 index 000000000..c54e1ea85 --- /dev/null +++ b/docs/cmdline-opts/url.d @@ -0,0 +1,15 @@ +long: url +Arg: <url> +Help: URL to work with +--- +Specify a URL to fetch. This option is mostly handy when you want to specify +URL(s) in a config file. + +If the given URL is missing a scheme name (such as "http://" or "ftp://" etc) +then curl will make a guess based on the host. If the outermost sub-domain +name matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then that protocol will be +used, otherwise HTTP will be used. Since 7.45.0 guessing can be disabled by +setting a default protocol, see --proto-default for details. + +This option may be used any number of times. To control where this URL is +written, use the --output or the --remote-name options. |