From 0e78911ce3e6927d72ee85675a3a1b64f4d5a614 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 27 Nov 2000 10:24:08 +0000
Subject: [PATCH] modified the --help output to have the passwords within
 [brackets] as they are optional...

---
 src/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main.c b/src/main.c
index 296dab5bbb..43af0d617d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -252,7 +252,7 @@ static void help(void)
        "    --data-binary <data>  HTTP POST binary data (H)\n"
        " -D/--dump-header <file> Write the headers to this file\n"
        " -e/--referer       Referer page (H)\n"
-       " -E/--cert <cert:passwd> Specifies your certificate file and password (HTTPS)\n"
+       " -E/--cert <cert[:passwd]> Specifies your certificate file and password (HTTPS)\n"
        "    --cacert <file> CA certifciate to verify peer against (HTTPS)\n"
        " -f/--fail          Fail silently (no output at all) on errors (H)\n"
        " -F/--form <name=content> Specify HTTP POST data (H)\n"
@@ -281,8 +281,8 @@ static void help(void)
        " -S/--show-error    Show error. With -s, make curl show errors when they occur\n"
        " -t/--upload        Transfer/upload stdin to remote site\n"
        " -T/--upload-file <file> Transfer/upload <file> to remote site\n"
-       " -u/--user <user:password> Specify user and password to use\n"
-       " -U/--proxy-user <user:password> Specify Proxy authentication\n"
+       " -u/--user <user[:password]> Specify user and password to use\n"
+       " -U/--proxy-user <user[:password]> Specify Proxy authentication\n"
        " -v/--verbose       Makes the operation more talkative\n"
        " -V/--version       Outputs version number then quits\n"
        " -w/--write-out [format] What to output after completion\n"
-- 
GitLab