url.d 648 B

123456789101112131415
  1. Long: url
  2. Arg: <url>
  3. Help: URL to work with
  4. ---
  5. Specify a URL to fetch. This option is mostly handy when you want to specify
  6. URL(s) in a config file.
  7. If the given URL is missing a scheme name (such as "http://" or "ftp://" etc)
  8. then curl will make a guess based on the host. If the outermost sub-domain
  9. name matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then that protocol will be
  10. used, otherwise HTTP will be used. Since 7.45.0 guessing can be disabled by
  11. setting a default protocol, see --proto-default for details.
  12. This option may be used any number of times. To control where this URL is
  13. written, use the --output or the --remote-name options.