From: Jay Satiro Date: Wed, 10 Feb 2021 19:10:49 +0000 (-0500) Subject: tool_help: add missing argument for --create-file-mode X-Git-Tag: curl-7_76_0~170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3183217;p=thirdparty%2Fcurl.git 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 File mode (octal) for created files Reported-by: ZimCodes@users.noreply.github.com Fixes https://github.com/curl/curl/issues/6590 --- diff --git a/src/tool_help.c b/src/tool_help.c index a094450e5c..b90c6fd05d 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -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 ", + "File mode (octal) for created files", CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_FILE | CURLHELP_UPLOAD}, {" --crlf", "Convert LF to CRLF in upload",