]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
get.d: provide more useful examples
authorDaniel Stenberg <daniel@haxx.se>
Fri, 3 Sep 2021 08:14:06 +0000 (10:14 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 3 Sep 2021 22:16:53 +0000 (00:16 +0200)
Closes #7668

docs/cmdline-opts/get.d

index e51c15563e4eeacd47a6ab38ac49ee30bf46a438..c5fb5c94116673cc9f8e46fce527b1a3ce024a22 100644 (file)
@@ -3,6 +3,8 @@ Short: G
 Help: Put the post data in the URL and use GET
 Category: http upload
 Example: --get $URL
+Example: --get -d "tool=curl" -d "age=old" $URL
+Example: --get -I -d "tool=curl" $URL
 ---
 When used, this option will make all data specified with --data, --data-binary
 or --data-urlencode to be used in an HTTP GET request instead of the POST