Re: more output options than URLs?

Daniel Stenberg via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
On Sun, 28 Apr 2024, Paul Gilmartin via curl-users wrote:

> curl 26+ curl --location --output example.com --time-cond '31 Dec 2037' 
> --write-out '%{filename_effective}' --remote-name --remote-header-name 
> https://example.com
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time 
> Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-- 
> 0
> Warning: Got more output options than URLs
>
> What am I missing?

You provide a single URL but two output options: --output and --remote-name

-- 

  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.