1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-12 04:25:08 -05:00

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-dirs",
"Create necessary local directory hierarchy", "Create necessary local directory hierarchy",
CURLHELP_CURL}, CURLHELP_CURL},
{" --create-file-mode", {" --create-file-mode <mode>",
"File mode for created files", "File mode (octal) for created files",
CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_FILE | CURLHELP_UPLOAD}, CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_FILE | CURLHELP_UPLOAD},
{" --crlf", {" --crlf",
"Convert LF to CRLF in upload", "Convert LF to CRLF in upload",