]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_getparam: let --trace-config override -v bagder/trace-verbose 18361/head
authorDaniel Stenberg <daniel@haxx.se>
Fri, 22 Aug 2025 14:58:28 +0000 (16:58 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 Aug 2025 14:58:28 +0000 (16:58 +0200)
commit9e74c0bac8fdb9e7f942833028da7c2526e3b3ce
tree0b0760f356b41b5fc34ad2c41e2ba388fb78b845
parentb3570b36d7dcc27d69c14560b38603bb0b20a9e1
tool_getparam: let --trace-config override -v

If --trace-config is used to set a level before -v is used, don't reset
the state on first -v (to "-all") as it otherwise does. This way,
--trace-config can be used to set specific trace items before -v on the
command line and it still works.

Previously, the first -v use would otherwise reset and undo the earlier
--trace-config items.

Fixes #18346
src/tool_cfgable.h
src/tool_getparam.c