mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:33:44 +03:00
help: add flags to output and ssh categories
- Add --output, --remove-on-error, --output-dir and --created-dirs to the output help category - Add --hostpubmd5, --hostpubsha256, --insecure (-k), and --pubkey to the ssh help category Closes #14076
This commit is contained in:
parent
82b32b344e
commit
62bfcb0c44
9 changed files with 16 additions and 16 deletions
|
|
@ -98,7 +98,7 @@ const struct helptxt helptext[] = {
|
|||
CURLHELP_HTTP},
|
||||
{" --create-dirs",
|
||||
"Create necessary local directory hierarchy",
|
||||
CURLHELP_CURL},
|
||||
CURLHELP_CURL | CURLHELP_OUTPUT},
|
||||
{" --create-file-mode <mode>",
|
||||
"File mode for created files",
|
||||
CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_FILE | CURLHELP_UPLOAD},
|
||||
|
|
@ -266,10 +266,10 @@ const struct helptxt helptext[] = {
|
|||
CURLHELP_IMPORTANT | CURLHELP_CURL},
|
||||
{" --hostpubmd5 <md5>",
|
||||
"Acceptable MD5 hash of host public key",
|
||||
CURLHELP_SFTP | CURLHELP_SCP},
|
||||
CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_SSH},
|
||||
{" --hostpubsha256 <sha256>",
|
||||
"Acceptable SHA256 hash of host public key",
|
||||
CURLHELP_SFTP | CURLHELP_SCP},
|
||||
CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_SSH},
|
||||
{" --hsts <filename>",
|
||||
"Enable HSTS with this cache file",
|
||||
CURLHELP_HTTP},
|
||||
|
|
@ -302,7 +302,7 @@ const struct helptxt helptext[] = {
|
|||
CURLHELP_IMPORTANT | CURLHELP_VERBOSE},
|
||||
{"-k, --insecure",
|
||||
"Allow insecure server connections",
|
||||
CURLHELP_TLS | CURLHELP_SFTP | CURLHELP_SCP},
|
||||
CURLHELP_TLS | CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_SSH},
|
||||
{" --interface <name>",
|
||||
"Use network interface",
|
||||
CURLHELP_CONNECTION},
|
||||
|
|
@ -440,10 +440,10 @@ const struct helptxt helptext[] = {
|
|||
CURLHELP_AUTH},
|
||||
{"-o, --output <file>",
|
||||
"Write to file instead of stdout",
|
||||
CURLHELP_IMPORTANT | CURLHELP_CURL},
|
||||
CURLHELP_IMPORTANT | CURLHELP_CURL | CURLHELP_OUTPUT},
|
||||
{" --output-dir <dir>",
|
||||
"Directory to save files in",
|
||||
CURLHELP_CURL},
|
||||
CURLHELP_CURL | CURLHELP_OUTPUT},
|
||||
{"-Z, --parallel",
|
||||
"Perform transfers in parallel",
|
||||
CURLHELP_CONNECTION | CURLHELP_CURL},
|
||||
|
|
@ -581,7 +581,7 @@ const struct helptxt helptext[] = {
|
|||
CURLHELP_PROXY},
|
||||
{" --pubkey <key>",
|
||||
"SSH Public key filename",
|
||||
CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_AUTH},
|
||||
CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_SSH | CURLHELP_AUTH},
|
||||
{"-Q, --quote <command>",
|
||||
"Send command(s) to server before transfer",
|
||||
CURLHELP_FTP | CURLHELP_SFTP},
|
||||
|
|
@ -614,7 +614,7 @@ const struct helptxt helptext[] = {
|
|||
CURLHELP_OUTPUT},
|
||||
{" --remove-on-error",
|
||||
"Remove output file on errors",
|
||||
CURLHELP_CURL},
|
||||
CURLHELP_CURL | CURLHELP_OUTPUT},
|
||||
{"-X, --request <method>",
|
||||
"Specify request method to use",
|
||||
CURLHELP_CONNECTION},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue