]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
variable.md: make example use expand
authorYedaya Katsman <yedaya.ka@gmail.com>
Sun, 7 Jul 2024 18:31:20 +0000 (21:31 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Jul 2024 21:15:56 +0000 (23:15 +0200)
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

docs/cmdline-opts/variable.md

index 9da1d3feebfdc40de92eca74bb8a18094399b6bd..9fe057236328c85e4bf38a8c68a34a24c1fa58a7 100644 (file)
@@ -10,7 +10,7 @@ Multi: append
 See-also:
   - config
 Example:
-  - --variable name=smith $URL
+  - --variable name=smith --expand-url "$URL/{{name}}"
 ---
 
 # `--variable`