-.\"
+.TH MHLOGIN %manext1% 2016-10-10 "%nmhversion%"
+.
.\" %nmhwarning%
-.\"
-.TH MHLOGIN %manext1% "September 11, 2016" "%nmhversion%"
+.
.SH NAME
-mhlogin \- login to external (OAuth) services
+mhlogin \- nmh login to external (OAuth) services
.SH SYNOPSIS
.HP 5
.na
.B mhlogin
+.RB [ \-help ]
+.RB [ \-version ]
.RB [ \-user
.IR username ]
.RB [ \-saslmech
.RB [ \-browser
.IR command ]
.RB [ \-snoop ]
-.RB [ \-version ]
-.RB [ \-help ]
.ad
.SH DESCRIPTION
-.B Mhlogin
+.B mhlogin
currently only supports OAuth for Gmail. Run
.B mhlogin
.B \-user
.B -user
switch to
.BR send .
+See the EXAMPLES section below for an example.
.PP
The
.B \-browser
.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