diff --git a/docs/cmdline-opts/cacert.d b/docs/cmdline-opts/cacert.d index 04e113980e..b2ecf9088f 100644 --- a/docs/cmdline-opts/cacert.d +++ b/docs/cmdline-opts/cacert.d @@ -1,5 +1,5 @@ Long: cacert -Arg: +Arg: Help: CA certificate to verify peer against Protocols: TLS --- diff --git a/scripts/zsh.pl b/scripts/zsh.pl index f0d8c195f4..82b4d9fa2d 100755 --- a/scripts/zsh.pl +++ b/scripts/zsh.pl @@ -54,10 +54,11 @@ sub parse_main_opts { $option .= '}' if defined $short; $option .= '\'[' . trim($desc) . ']\'' if defined $desc; - $option .= ":$arg" if defined $arg; + $option .= ":'$arg'" if defined $arg; $option .= ':_files' - if defined $arg and ($arg eq 'FILE' || $arg eq 'DIR'); + if defined $arg and ($arg eq '' || $arg eq '' + || $arg eq ''); push @list, $option; } diff --git a/src/tool_help.c b/src/tool_help.c index 42dc779595..a5bfaba24e 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -54,7 +54,7 @@ static const struct helptxt helptext[] = { "Append to target file when uploading"}, {" --basic", "Use HTTP Basic Authentication"}, - {" --cacert ", + {" --cacert ", "CA certificate to verify peer against"}, {" --capath ", "CA directory to verify peer against"},