From: Thomas Rast Date: Sun, 1 Dec 2013 22:48:42 +0000 (+0100) Subject: send-email: --smtp-ssl-cert-path takes an argument X-Git-Tag: v1.9-rc0~62^2~1 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=979e652a18eea8e865777239f11c89795d969211;p=git.git send-email: --smtp-ssl-cert-path takes an argument 35035bb (send-email: be explicit with SSL certificate verification, 2013-07-18) forgot to specify that --smtp-ssl-cert-path takes a string argument. This means that the option could not actually be used as intended. Presumably noone noticed because it's much easier to set it through configs anyway. Add the required "=s". Signed-off-by: Thomas Rast Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index f7468b6366..9f31c68b82 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -291,7 +291,7 @@ my $rc = GetOptions("h" => \$help, "smtp-pass:s" => \$smtp_authpass, "smtp-ssl" => sub { $smtp_encryption = 'ssl' }, "smtp-encryption=s" => \$smtp_encryption, - "smtp-ssl-cert-path" => \$smtp_ssl_cert_path, + "smtp-ssl-cert-path=s" => \$smtp_ssl_cert_path, "smtp-debug:i" => \$debug_net_smtp, "smtp-domain:s" => \$smtp_domain, "identity=s" => \$identity,