Skip to contentSkip to conversation

send-email: document the --smtp-debug option

PATCH In review Zbigniew Jędrzejewski-Szmek 2 participants 2 messages Jun 15, 2016 1 message not in the archive Documentation

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 send-email: document the --smtp-debug option

The option was already shown in -h output, so it should be documented in the man page.

---

Quoted 2 lines · David Greene

I don't think --smtp-debug is documented in the man pages. Was that a deliberate decision or an oversight?

 Documentation/git-send-email.txt |    4 ++++
 1 file changed, 4 insertions(+)
Documentation/git-send-email.txt +4 -0
index 327233c..3241170 100644
@@ -198,6 +198,10 @@ must be used for each option.
 	if a username is not specified (with '--smtp-user' or 'sendemail.smtpuser'),
 	then authentication is not attempted.
 
+--smtp-debug=0|1::
+	Enable (1) or disable (0) debug output. If enabled, SMTP
+	commands and replies will be printed. Useful to debug TLS
+	connection and authentication problems.
 
 Automating
 ~~~~~~~~~~
Signature · 1 line
1.7.9.2.378.g4d260
#2 lore raw
Quoted 9 lines · Zbigniew Jędrzejewski-Szmek

The option was already shown in -h output, so it should be documented in the man page.

---

Quoted 2 lines · David Greene

I don't think --smtp-debug is documented in the man pages. Was that a deliberate decision or an oversight?

Probably halfway in between "Meh"; anybody who is willing to look into the issue will notice when he opens the script and reads it for the first time anyway, so why bother.

But now "A patch already exists, and it does not seem to have any funny letters that may screw up asciidoc, so why bother rejecting" ;-)

Will apply; thanks.

Quoted 18 lines
 Documentation/git-send-email.txt |    4 ++++
 1 file changed, 4 insertions(+)
Documentation/git-send-email.txt +4 -0
index 327233c..3241170 100644
@@ -198,6 +198,10 @@ must be used for each option.
 	if a username is not specified (with '--smtp-user' or 'sendemail.smtpuser'),
 	then authentication is not attempted.
 
+--smtp-debug=0|1::
+	Enable (1) or disable (0) debug output. If enabled, SMTP
+	commands and replies will be printed. Useful to debug TLS
+	connection and authentication problems.
 
 Automating
 ~~~~~~~~~~