]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: document missing arguments to commands
authorБорис Верховский <boris.verk@gmail.com>
Tue, 13 Jul 2021 03:09:26 +0000 (21:09 -0600)
committerDaniel Gustafsson <daniel@yesql.se>
Tue, 13 Jul 2021 21:49:35 +0000 (23:49 +0200)
This is a followup to commit f410b9e538129e77607fef1 fixing a few
more commands which takes arguments.

Closes #7382
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
docs/cmdline-opts/parallel-max.d
docs/cmdline-opts/quote.d
docs/cmdline-opts/request-target.d
src/tool_help.c

index d49aeb7a9d9b0be84fc3f7fbe129459fcfca428d..c265b7204e8aca146a226490923e29f061f7fff1 100644 (file)
@@ -1,4 +1,5 @@
 Long: parallel-max
+Arg: <num>
 Help: Maximum concurrency for parallel transfers
 Added: 7.66.0
 See-also: parallel
index 96b178cb5d5d7bca69ae1d875aa60f40fde43c31..6e4fd08f1be075821e3f212e42d28b440165ab5f 100644 (file)
@@ -1,4 +1,5 @@
 Long: quote
+Arg: <command>
 Short: Q
 Help: Send command(s) to server before transfer
 Protocols: FTP SFTP
index df423f87d7f2ad0ed79bd927ced1da105d38fcd1..4422611b134b1c897ea328cbfb3ea11e9616515a 100644 (file)
@@ -1,4 +1,5 @@
 Long: request-target
+Arg: <path>
 Help: Specify the target for this request
 Protocols: HTTP
 Added: 7.55.0
index 1fcbc1bc3e1397a04ba5f5f9e99c1576a3443f00..86a2e0fac98e63bfbe11b7125bf810b97a1d9e30 100644 (file)
@@ -505,7 +505,7 @@ static const struct helptxt helptext[] = {
   {"    --parallel-immediate",
    "Do not wait for multiplexing (with --parallel)",
    CURLHELP_CONNECTION | CURLHELP_CURL},
-  {"    --parallel-max",
+  {"    --parallel-max <num>",
    "Maximum concurrency for parallel transfers",
    CURLHELP_CONNECTION | CURLHELP_CURL},
   {"    --pass <phrase>",
@@ -631,7 +631,7 @@ static const struct helptxt helptext[] = {
   {"    --pubkey <key>",
    "SSH Public key file name",
    CURLHELP_SFTP | CURLHELP_SCP | CURLHELP_AUTH},
-  {"-Q, --quote",
+  {"-Q, --quote <command>",
    "Send command(s) to server before transfer",
    CURLHELP_FTP | CURLHELP_SFTP},
   {"    --random-file <file>",
@@ -661,7 +661,7 @@ static const struct helptxt helptext[] = {
   {"-X, --request <command>",
    "Specify request command to use",
    CURLHELP_CONNECTION},
-  {"    --request-target",
+  {"    --request-target <path>",
    "Specify the target for this request",
    CURLHELP_HTTP},
   {"    --resolve <[+]host:port:addr[,addr]...>",