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 11:10:14 +0100
commit2797afdd857888c3cdbd2492938640808719f38c (patch)
tree209deae454fa5c07abd55a6e72f97a1169f2bd79
parent6c6035532383e300c712e4c1cd9fdd749ed5cf59 (diff)
downloadcurl-bagder/manpage-cookie.tar.gz
curl.1: mark the argument to --cookie as <data|filename>bagder/manpage-cookie
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"},