]> granicus.if.org Git - curl/commitdiff
curl.1: mark the argument to --cookie as <data|filename>
authorDaniel Stenberg <daniel@haxx.se>
Thu, 14 Mar 2019 09:54:10 +0000 (10:54 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 14 Mar 2019 16:25:40 +0000 (17:25 +0100)
From a discussion in #3676

Suggested-by: Tim Rühsen
Closes #3682

docs/cmdline-opts/cookie.d
src/tool_help.c

index 3ae697548ddab3d104331f2af5abbe8d93711325..1e9906977e31d4219a3fa31318bcf82dc70c5c38 100644 (file)
@@ -1,6 +1,6 @@
 Short: b
 Long: cookie
-Arg: <data>
+Arg: <data|filename>
 Protocols: HTTP
 Help: Send cookies from string/file
 ---
index 542998bd0355dbeb57a5543a9a9592a54fe0b593..8a3c2582039009659f56d995a267fec20f521db8 100644 (file)
@@ -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"},