From 4a74135737a257ad297cee05dc98c09df11660f6 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Sun, 16 Feb 2025 03:05:15 -0500 Subject: [PATCH] variable.md: clarify 'trim' example - Use the variable name 'var' instead of 'url' since the latter is also a function name and that may confuse the user. Closes https://github.com/curl/curl/pull/16346 --- docs/cmdline-opts/variable.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cmdline-opts/variable.md b/docs/cmdline-opts/variable.md index 5b23e1fc42..1a0e70e209 100644 --- a/docs/cmdline-opts/variable.md +++ b/docs/cmdline-opts/variable.md @@ -71,7 +71,7 @@ removes all leading and trailing white space. Example: - curl --expand-url https.//example.com/{{url:trim}} + curl --expand-url https://example.com/{{var:trim}} ## json outputs the content using JSON string quoting rules. -- 2.47.3