tool_getparam: clear the --httpsig-key argument

To hide it somewhat from process listings.

Closes #22394
This commit is contained in:
Daniel Stenberg 2026-07-25 23:06:29 +02:00
parent 163f0cbc8b
commit c5d683b961
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -173,7 +173,7 @@ static const struct LongShort aliases[] = {
#ifndef CURL_DISABLE_HTTPSIG
{"httpsig-algo", ARG_STRG, ' ', C_HTTPSIG_ALGORITHM},
{"httpsig-headers", ARG_STRG, ' ', C_HTTPSIG_HEADERS},
{"httpsig-key", ARG_FILE, ' ', C_HTTPSIG_KEY},
{"httpsig-key", ARG_FILE|ARG_CLEAR, ' ', C_HTTPSIG_KEY},
{"httpsig-keyid", ARG_STRG, ' ', C_HTTPSIG_KEYID},
#endif
{"ignore-content-length", ARG_BOOL, ' ', C_IGNORE_CONTENT_LENGTH},