]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmdline-opts/page-header: clarify stronger that !opt == URL
authorDaniel Stenberg <daniel@haxx.se>
Fri, 25 Aug 2023 14:44:20 +0000 (16:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 25 Aug 2023 18:53:15 +0000 (20:53 +0200)
Everything provided on the command line that is not an option (or an
argument to an option) is treated as a URL.

Closes #11734

docs/cmdline-opts/page-header

index 3ea99f7d3ce77ffc6edcfcd95e256ec30a2fda6f..5262db3916827aadaab38e0e150f85d74293b120 100644 (file)
@@ -60,6 +60,9 @@ separate curl runs.
 Provide an IPv6 zone id in the URL with an escaped percentage sign. Like in
 
   "http://[fe80::3%25eth0]/"
+
+Everything provided on the command line that is not a command line option or
+its argument, curl assumes is a URL and treats it as such.
 .SH GLOBBING
 You can specify multiple URLs or parts of URLs by writing lists within braces
 or ranges within brackets. We call this "globbing".
@@ -230,7 +233,8 @@ The online version of this man page is always showing the latest incarnation:
 https://curl.se/docs/manpage.html
 .SH OPTIONS
 Options start with one or two dashes. Many of the options require an
-additional value next to them.
+additional value next to them. If provided text does not start with a dash, it
+is presumed to be and treated as a URL.
 
 The short "single-dash" form of the options, -d for example, may be used with
 or without a space between it and its value, although a space is a recommended