tool_help: add missing argument for --create-file-mode

Prior to this change the required argument was not shown in curl --help.

before:
     --create-file-mode File mode for created files

after:
     --create-file-mode <mode> File mode (octal) for created files

Reported-by: ZimCodes@users.noreply.github.com

Fixes https://github.com/curl/curl/issues/6590
This commit is contained in:
Jay Satiro 2021-02-10 14:10:49 -05:00
parent 41863a94b5
commit 3183217246

View File

@ -184,8 +184,8 @@ static const struct helptxt helptext[] = {
{" --create-dirs",
"Create necessary local directory hierarchy",
CURLHELP_CURL},
{" --create-file-mode",
"File mode for created files",
{" --create-file-mode <mode>",
"File mode (octal) for created files",
CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_FILE | CURLHELP_UPLOAD},
{" --crlf",
"Convert LF to CRLF in upload",