]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
create-file-mode.d: add missing Arg tag
authorJay Satiro <raysatiro@yahoo.com>
Wed, 10 Feb 2021 18:57:40 +0000 (13:57 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 10 Feb 2021 18:57:40 +0000 (13:57 -0500)
Prior to this change the required argument was not shown.

curl.1 before: --create-file-mode
curl.1 after: --create-file-mode <mode>

Reported-by: ZimCodes@users.noreply.github.com
Fixes https://github.com/curl/curl/issues/6590

docs/cmdline-opts/create-file-mode.d

index 115bacf21a06ed537f351aaa01c7d5e8c38a38d9..a03c74ac3ca397ef3b5d4716774cc9eb64282019 100644 (file)
@@ -1,4 +1,5 @@
 Long: create-file-mode
+Arg: <mode>
 Help: File mode for created files
 Protocols: SFTP SCP FILE
 Category: sftp scp file upload
@@ -9,4 +10,4 @@ When curl is used to create files remotely using one of the supported
 protocols, this option allows the user to set which 'mode' to set on the file
 at creation time, instead of the default 0644.
 
-This options takes an octal number as argument.
+This option takes an octal number as argument.