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 <tr@thomasrast.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thomas Rast committed
Dec 1, 2013 at 23:48 UTC
979e652a18eea8e865777239f11c89795d969211
1 file changed
+1
-1
git-send-email.perl
+1
-1
@@ -291,7 +291,7 @@ my $rc = GetOptions("h" => \$help,
291
"smtp-pass:s" => \$smtp_authpass,
292
"smtp-ssl" => sub { $smtp_encryption = 'ssl' },
293
"smtp-encryption=s" => \$smtp_encryption,
294
- "smtp-ssl-cert-path" => \$smtp_ssl_cert_path,
294
+ "smtp-ssl-cert-path=s" => \$smtp_ssl_cert_path,
295
"smtp-debug:i" => \$debug_net_smtp,
296
"smtp-domain:s" => \$smtp_domain,
297
"identity=s" => \$identity,