summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2020-03-29 18:29:43 -0400
committerJay Satiro <raysatiro@yahoo.com>2020-03-29 18:29:43 -0400
commita4a07db9ec189d796d34c6a9cd06bbb15f732b34 (patch)
tree484cb7985079bff868049991836fc47d4f384a1d
parent7f7c84445055477088fd257b0002a05bb91b56a8 (diff)
downloadcurl-a4a07db9ec189d796d34c6a9cd06bbb15f732b34.tar.gz
squashme: be more explicit, also quote it in page-header.bagder/output-quote-url
-rw-r--r--docs/cmdline-opts/output.d6
-rw-r--r--docs/cmdline-opts/page-header4
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/cmdline-opts/output.d b/docs/cmdline-opts/output.d
index 48415041b..f310c267d 100644
--- a/docs/cmdline-opts/output.d
+++ b/docs/cmdline-opts/output.d
@@ -5,9 +5,9 @@ Help: Write to file instead of stdout
See-also: remote-name remote-name-all remote-header-name
---
Write output to <file> instead of stdout. If you are using {} or [] to fetch
-multiple documents, you can use '#' followed by a number in the <file>
-specifier. That variable will be replaced with the current string for the URL
-being fetched. Like in:
+multiple documents, you should quote the URL and you can use '#' followed by a
+number in the <file> specifier. That variable will be replaced with the current
+string for the URL being fetched. Like in:
curl "http://{one,two}.example.com" -o "file_#1.txt"
diff --git a/docs/cmdline-opts/page-header b/docs/cmdline-opts/page-header
index 51f45edad..7b04a8240 100644
--- a/docs/cmdline-opts/page-header
+++ b/docs/cmdline-opts/page-header
@@ -46,9 +46,9 @@ The URL syntax is protocol-dependent. You'll find a detailed description in
RFC 3986.
You can specify multiple URLs or parts of URLs by writing part sets within
-braces as in:
+braces and quoting the URL as in:
- http://site.{one,two,three}.com
+ "http://site.{one,two,three}.com"
or you can get sequences of alphanumeric series by using [] as in: