diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2021-02-10 14:10:49 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2021-02-10 14:10:49 -0500 |
commit | 3183217246287eca61f762ce71be26656850a13f (patch) | |
tree | cf60ce9d9c5ed1911f9d66c454965716a4c39878 /src | |
parent | 41863a94b5ae241291dfb038cde304826fcfb2a1 (diff) | |
download | curl-3183217246287eca61f762ce71be26656850a13f.tar.gz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_help.c | 4 |
1 files 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 <mode>", + "File mode (octal) for created files", CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_FILE | CURLHELP_UPLOAD}, {" --crlf", "Convert LF to CRLF in upload", |