From: Daniel Stenberg Date: Fri, 25 Aug 2023 14:44:20 +0000 (+0200) Subject: cmdline-opts/page-header: clarify stronger that !opt == URL X-Git-Tag: curl-8_3_0~105 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a722ce71a35efa559bebc1308d7a2c714b521f70;p=thirdparty%2Fcurl.git cmdline-opts/page-header: clarify stronger that !opt == URL Everything provided on the command line that is not an option (or an argument to an option) is treated as a URL. Closes #11734 --- diff --git a/docs/cmdline-opts/page-header b/docs/cmdline-opts/page-header index 3ea99f7d3c..5262db3916 100644 --- a/docs/cmdline-opts/page-header +++ b/docs/cmdline-opts/page-header @@ -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