]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
variable.d: setting a variable again overwrites it
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Aug 2023 06:31:21 +0000 (08:31 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Aug 2023 07:32:08 +0000 (09:32 +0200)
Reported-by: Niall McGee
Bug: https://twitter.com/niallmcgee/status/1686523075423322113
Closes #11571

docs/cmdline-opts/variable.d

index 99dadc3b86d4f84df7468cd88aa141dcf24d57e4..fb638d5f5169fb87eadd3183365f35cebb130819 100644 (file)
@@ -14,8 +14,8 @@ if set to a single dash (-)). The name is a case sensitive identifier that
 must consist of no other letters than a-z, A-Z, 0-9 or underscore. The
 specified content is then associated with this identifier.
 
-The name must be unique within a command line invoke, setting the same
-variable name again will be ignored.
+Setting the same variable name again will overwrite the old contents with the
+new.
 
 The contents of a variable can be referenced in a later command line option
 when that option name is prefixed with "--expand-", and the name is used as