From: Yedaya Katsman Date: Sun, 7 Jul 2024 18:31:20 +0000 (+0300) Subject: variable.md: make example use expand X-Git-Tag: curl-8_9_0~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff7f5163fecde6f9e9729f4e7028b3501308560;p=thirdparty%2Fcurl.git variable.md: make example use expand I used double quotes since it seemed required for powershell, so this example works in both (ba)sh and powershell as well as cmd.exe. Closes #14118 --- diff --git a/docs/cmdline-opts/variable.md b/docs/cmdline-opts/variable.md index 9da1d3feeb..9fe0572363 100644 --- a/docs/cmdline-opts/variable.md +++ b/docs/cmdline-opts/variable.md @@ -10,7 +10,7 @@ Multi: append See-also: - config Example: - - --variable name=smith $URL + - --variable name=smith --expand-url "$URL/{{name}}" --- # `--variable`