]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: make -N handled correctly
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jun 2025 11:34:08 +0000 (13:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jun 2025 14:51:00 +0000 (16:51 +0200)
commitc7658f274c551c14f7e22031e324a25f1bdea800
tree51c594718a886289ff02ec91554025f0e41aa945
parent741748e34124e33da5357c0026cceb5a927cb036
curl: make -N handled correctly

Options marked ARG_NO should have their 'toggle' value reverted when the
short option is used as it implies using the --no- prefix.

-N happens be the only short option flag for a --no- long option.

Reported-by: Stefan Eissing
Closes #17527
src/tool_getparam.c