curl: remove first argument from helpf()

It was always the same and it is a global already!

Closes #18221
This commit is contained in:
Daniel Stenberg 2025-08-07 16:12:44 +02:00
parent 16eac53dc9
commit 02b22ee4ea
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 15 additions and 15 deletions

View file

@ -3066,9 +3066,9 @@ ParameterError parse_args(int argc, argv_item_t argv[])
const char *reason = param2text(result);
if(orig_opt && strcmp(":", orig_opt))
helpf(tool_stderr, "option %s: %s", orig_opt, reason);
helpf("option %s: %s", orig_opt, reason);
else
helpf(tool_stderr, "%s", reason);
helpf("%s", reason);
}
unicodefree(orig_opt);