From 4169943d15d9a6b47de5f41bdafe251fa3615968 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 2 Aug 2023 08:31:21 +0200 Subject: [PATCH] variable.d: setting a variable again overwrites it Reported-by: Niall McGee Bug: https://twitter.com/niallmcgee/status/1686523075423322113 Closes #11571 --- docs/cmdline-opts/variable.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cmdline-opts/variable.d b/docs/cmdline-opts/variable.d index 99dadc3b86..fb638d5f51 100644 --- a/docs/cmdline-opts/variable.d +++ b/docs/cmdline-opts/variable.d @@ -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