X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1d08c1e0c0de0d321883ece1c36bce851fe893c7..c576ad2674c37a1c63f004c71049998f38854c64:/man/mhlogin.man diff --git a/man/mhlogin.man b/man/mhlogin.man index eb067ea5..13a040aa 100644 --- a/man/mhlogin.man +++ b/man/mhlogin.man @@ -1,13 +1,15 @@ -.\" +.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 @@ -17,11 +19,9 @@ mhlogin \- login to external (OAuth) services .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 @@ -36,6 +36,7 @@ prompt. Be sure to use the same account with the .B -user switch to .BR send . +See the EXAMPLES section below for an example. .PP The .B \-browser @@ -78,6 +79,9 @@ mhlogin -user user@example.com -saslmech xoauth2 -authservice gmail \ .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