mirror of
https://github.com/curl/curl.git
synced 2025-03-07 15:27:17 +08:00
variable.d: setting a variable again overwrites it
Reported-by: Niall McGee Bug: https://twitter.com/niallmcgee/status/1686523075423322113 Closes #11571
This commit is contained in:
parent
783e4714d9
commit
4169943d15
@ -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
|
must consist of no other letters than a-z, A-Z, 0-9 or underscore. The
|
||||||
specified content is then associated with this identifier.
|
specified content is then associated with this identifier.
|
||||||
|
|
||||||
The name must be unique within a command line invoke, setting the same
|
Setting the same variable name again will overwrite the old contents with the
|
||||||
variable name again will be ignored.
|
new.
|
||||||
|
|
||||||
The contents of a variable can be referenced in a later command line option
|
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
|
when that option name is prefixed with "--expand-", and the name is used as
|
||||||
|
Loading…
Reference in New Issue
Block a user