mirror of
https://github.com/curl/curl.git
synced 2026-07-27 07:37:15 +03:00
curl: remove first argument from helpf()
It was always the same and it is a global already! Closes #18221
This commit is contained in:
parent
16eac53dc9
commit
02b22ee4ea
5 changed files with 15 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue