Re: supporting --longopt=value

Paul Gilmartin via curl-users <[email protected]> Tue, 1 Jul 2025 07:16:12 -0600
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
On 7/1/25 03:12, Daniel Stenberg via curl-users wrote:
> 
> Many other command line tools instead uses the equals-sign-approach, 
> where the argument is instead specified immediately next to the flag 
> like this:
> 
>    curl --user-agent=curl-2000 https://example.com/
> 
> I am now proposing a PR for curl that makes it add support for the 
> latter syntax in addition to the previous, which then perhaps makes curl 
> a bit more aligned with the rest of the world: https://github.com/curl/ 
> curl/pull/17789
>     ...
Does this introduce any incompatibility?  For  example, would i
  change the behavior of:
      curl --output =x  https://example.com

-- 
gil

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html