shorted and unified language in the --help output
This commit is contained in:
parent
5eb5ce6ff3
commit
9d98f97e1b
34
src/main.c
34
src/main.c
@ -473,24 +473,24 @@ static void help(void)
|
||||
"Options: (H) means HTTP/HTTPS only, (F) means FTP only",
|
||||
" -a/--append Append to target file when uploading (F)",
|
||||
" -A/--user-agent <string> User-Agent to send to server (H)",
|
||||
" --anyauth Tell curl to choose authentication method (H)",
|
||||
" --anyauth Pick \"any\" authentication method (H)",
|
||||
" -b/--cookie <name=string/file> Cookie string or file to read cookies from (H)",
|
||||
" --basic Enable HTTP Basic Authentication (H)",
|
||||
" --basic Use HTTP Basic Authentication (H)",
|
||||
" -B/--use-ascii Use ASCII/text transfer",
|
||||
" -c/--cookie-jar <file> Write cookies to this file after operation (H)",
|
||||
" -C/--continue-at <offset> Resumed transfer offset",
|
||||
" -d/--data <data> HTTP POST data (H)",
|
||||
" --data-ascii <data> HTTP POST ASCII data (H)",
|
||||
" --data-binary <data> HTTP POST binary data (H)",
|
||||
" --negotiate Enable HTTP Negotiate Authentication (H)",
|
||||
" --digest Enable HTTP Digest Authentication (H)",
|
||||
" --disable-eprt Prevent curl from using EPRT or LPRT (F)",
|
||||
" --disable-epsv Prevent curl from using EPSV (F)",
|
||||
" --data-ascii <data> HTTP POST ASCII data (H)",
|
||||
" --data-binary <data> HTTP POST binary data (H)",
|
||||
" --negotiate Use HTTP Negotiate Authentication (H)",
|
||||
" --digest Use HTTP Digest Authentication (H)",
|
||||
" --disable-eprt Inhibit using EPRT or LPRT (F)",
|
||||
" --disable-epsv Inhibit using EPSV (F)",
|
||||
" -D/--dump-header <file> Write the headers to this file",
|
||||
" --egd-file <file> EGD socket path for random data (SSL)",
|
||||
" --tcp-nodelay Set the TCP_NODELAY option",
|
||||
" --tcp-nodelay Use the TCP_NODELAY option",
|
||||
#ifdef USE_ENVIRONMENT
|
||||
" --environment Write result codes to environment variables (RISC OS)",
|
||||
" --environment Write results to environment variables (RISC OS)",
|
||||
#endif
|
||||
" -e/--referer Referer URL (H)",
|
||||
" -E/--cert <cert[:passwd]> Client certificate file and password (SSL)",
|
||||
@ -507,7 +507,7 @@ static void help(void)
|
||||
" --connect-timeout <seconds> Maximum time allowed for connection",
|
||||
" --create-dirs Create necessary local directory hierarchy",
|
||||
" --crlf Convert LF to CRLF in upload",
|
||||
" -f/--fail Fail silently (no output at all) on errors (H)",
|
||||
" -f/--fail Fail silently (no output at all) on HTTP errors (H)",
|
||||
" --ftp-create-dirs Create the remote dirs if not present (F)",
|
||||
" --ftp-pasv Use PASV/EPSV instead of PORT (F)",
|
||||
" --ftp-skip-pasv-ip Skip the IP address for PASV (F)\n"
|
||||
@ -524,7 +524,7 @@ static void help(void)
|
||||
" -j/--junk-session-cookies Ignore session cookies read from file (H)",
|
||||
" --interface <interface> Specify network interface to use",
|
||||
" --krb4 <level> Enable krb4 with specified security level (F)",
|
||||
" -k/--insecure Allow curl to connect to SSL sites without certs (H)",
|
||||
" -k/--insecure Allow connections to SSL sites without certs (H)",
|
||||
" -K/--config Specify which config file to read",
|
||||
" -l/--list-only List only names of an FTP directory (F)",
|
||||
" --limit-rate <rate> Limit transfer speed to this rate",
|
||||
@ -537,15 +537,15 @@ static void help(void)
|
||||
" -M/--manual Display the full manual",
|
||||
" -n/--netrc Must read .netrc for user name and password",
|
||||
" --netrc-optional Use either .netrc or URL; overrides -n",
|
||||
" --ntlm Enable HTTP NTLM authentication (H)",
|
||||
" --ntlm Use HTTP NTLM authentication (H)",
|
||||
" -N/--no-buffer Disable buffering of the output stream",
|
||||
" -o/--output <file> Write output to <file> instead of stdout",
|
||||
" -O/--remote-name Write output to a file named as the remote file",
|
||||
" -p/--proxytunnel Operate through a HTTP proxy tunnel (using CONNECT)",
|
||||
" --proxy-anyauth Let curl pick proxy authentication method (H)",
|
||||
" --proxy-basic Enable Basic authentication on the proxy (H)",
|
||||
" --proxy-digest Enable Digest authentication on the proxy (H)",
|
||||
" --proxy-ntlm Enable NTLM authentication on the proxy (H)",
|
||||
" --proxy-anyauth Pick \"any\" proxy authentication method (H)",
|
||||
" --proxy-basic Use Basic authentication on the proxy (H)",
|
||||
" --proxy-digest Use Digest authentication on the proxy (H)",
|
||||
" --proxy-ntlm Use NTLM authentication on the proxy (H)",
|
||||
" -P/--ftp-port <address> Use PORT with address instead of PASV (F)",
|
||||
" -q If used as the first parameter disables .curlrc",
|
||||
" -Q/--quote <cmd> Send command(s) to server before file transfer (F)",
|
||||
|
Loading…
Reference in New Issue
Block a user