From 8ec6c87e21a22aa48bf89315d64a0de8541a962e Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Tue, 31 Jan 2023 16:51:14 +0800 Subject: [PATCH] Correct the `--include` option `-include` is invalid, it is intercepted as `-i -n -c` and will create a file named `lude` under the current directory. --- source/_posts/curl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_posts/curl.md b/source/_posts/curl.md index 2a16c3b..cf6ce74 100644 --- a/source/_posts/curl.md +++ b/source/_posts/curl.md @@ -148,7 +148,7 @@ command | description ### Multiple file upload {.col-span-2} ```bash -$ curl -v -include \ +$ curl -v --include \ --form key1=value1 \ --form upload=@localfilename URL ``` @@ -324,4 +324,4 @@ curl -K file # read configuration from file curl --config file $HOME/.curlrc # default configuration file on UNIX-like systems -``` \ No newline at end of file +```