]> diplodocus.org Git - nmh/blobdiff - man/mhlogin.man
Shrink the static char[] for "%d" from 8KiB to just right.
[nmh] / man / mhlogin.man
index eb067ea5ff69f5d98b3b3115b2a49b2cb6efc7c2..114340008757bdc8144544734f69e14b33d025af 100644 (file)
@@ -1,13 +1,15 @@
 .\"
 .\" %nmhwarning%
 .\"
 .\"
 .\" %nmhwarning%
 .\"
-.TH MHLOGIN %manext1% "September 11, 2016" "%nmhversion%"
+.TH MHLOGIN %manext1% "October 10, 2016" "%nmhversion%"
 .SH NAME
 mhlogin \- login to external (OAuth) services
 .SH SYNOPSIS
 .HP 5
 .na
 .B mhlogin
 .SH NAME
 mhlogin \- login to external (OAuth) services
 .SH SYNOPSIS
 .HP 5
 .na
 .B mhlogin
+.RB [ \-help ]
+.RB [ \-version ]
 .RB [ \-user
 .IR username ]
 .RB [ \-saslmech
 .RB [ \-user
 .IR username ]
 .RB [ \-saslmech
@@ -17,8 +19,6 @@ mhlogin \- login to external (OAuth) services
 .RB [ \-browser
 .IR command ]
 .RB [ \-snoop ]
 .RB [ \-browser
 .IR command ]
 .RB [ \-snoop ]
-.RB [ \-version ]
-.RB [ \-help ]
 .ad
 .SH DESCRIPTION
 .B Mhlogin
 .ad
 .SH DESCRIPTION
 .B Mhlogin
@@ -36,6 +36,7 @@ prompt.  Be sure to use the same account with the
 .B -user
 switch to
 .BR send .
 .B -user
 switch to
 .BR send .
+See the EXAMPLES section below for an example.
 .PP
 The
 .B \-browser
 .PP
 The
 .B \-browser
@@ -78,6 +79,9 @@ mhlogin -user user@example.com -saslmech xoauth2 -authservice gmail \
 .fi
 .RE
 .PP
 .fi
 .RE
 .PP
+The
+.I username
+should be a complete email address.
 Respond to the prompt in the browser window, then copy and paste the
 authorization code in response to the
 .B mhlogin
 Respond to the prompt in the browser window, then copy and paste the
 authorization code in response to the
 .B mhlogin