curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: supporting --longopt=value

From: Paul Gilmartin via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 1 Jul 2025 07:16:12 -0600

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
Received on 2025-07-01