summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-03-14 10:54:10 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-14 17:25:40 +0100
commit05a131eb7740e95c7923b698f045bee6e87618ba (patch)
treede18ad454c789743700e4edeae69491d2eb442ac
parent697147896375124a1fb4e216de48bbd42019d82a (diff)
downloadcurl-05a131eb7740e95c7923b698f045bee6e87618ba.tar.gz
curl.1: mark the argument to --cookie as <data|filename>
From a discussion in #3676 Suggested-by: Tim Rühsen Closes #3682
-rw-r--r--docs/cmdline-opts/cookie.d2
-rw-r--r--src/tool_help.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/cmdline-opts/cookie.d b/docs/cmdline-opts/cookie.d
index 3ae697548..1e9906977 100644
--- a/docs/cmdline-opts/cookie.d
+++ b/docs/cmdline-opts/cookie.d
@@ -1,6 +1,6 @@
Short: b
Long: cookie
-Arg: <data>
+Arg: <data|filename>
Protocols: HTTP
Help: Send cookies from string/file
---
diff --git a/src/tool_help.c b/src/tool_help.c
index 542998bd0..8a3c25820 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -80,7 +80,7 @@ static const struct helptxt helptext[] = {
"Connect to host"},
{"-C, --continue-at <offset>",
"Resumed transfer offset"},
- {"-b, --cookie <data>",
+ {"-b, --cookie <data|filename>",
"Send cookies from string/file"},
{"-c, --cookie-jar <filename>",
"Write cookies to <filename> after operation"},