1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

shorted and unified language in the --help output

This commit is contained in:
Daniel Stenberg 2005-10-20 21:19:19 +00:00
parent 5eb5ce6ff3
commit 9d98f97e1b

View File

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