aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-27 10:24:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-27 10:24:08 +0000
commit0e78911ce3e6927d72ee85675a3a1b64f4d5a614 (patch)
tree9ce8467dabb503849bc01617f511c68f75423dab
parentb7a5fb1794ecac50c5cf1a5bec60391752748c15 (diff)
modified the --help output to have the passwords within [brackets] as they
are optional...
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 296dab5bb..43af0d617 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"