From 3183217246287eca61f762ce71be26656850a13f Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Wed, 10 Feb 2021 14:10:49 -0500 Subject: [PATCH] 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 --- src/tool_help.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tool_help.c b/src/tool_help.c index a094450e5..b90c6fd05 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",