]> diplodocus.org Git - nmh/commitdiff
Tweaked OAuth documentation in mhlogin and send man pages.
authorDavid Levine <levinedl@acm.org>
Mon, 10 Oct 2016 20:42:57 +0000 (16:42 -0400)
committerDavid Levine <levinedl@acm.org>
Mon, 10 Oct 2016 20:42:57 +0000 (16:42 -0400)
man/mhlogin.man
man/send.man

index eb067ea5ff69f5d98b3b3115b2a49b2cb6efc7c2..9a6c7a4543ce9797bc75fcd6fa3f1c63863668d8 100644 (file)
@@ -1,7 +1,7 @@
 .\"
 .\" %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
@@ -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
index f1da498e5dbf73e1e184494353bd38d2f68615e3..2bce76a2e215efae72cfcdccadf3c69ce524a1e9 100644 (file)
@@ -1,7 +1,7 @@
 .\"
 .\" %nmhwarning%
 .\"
-.TH SEND %manext1% "October 9, 2016" "%nmhversion%"
+.TH SEND %manext1% "October 10, 2016" "%nmhversion%"
 .SH NAME
 send \- send a message
 .SH SYNOPSIS
@@ -435,12 +435,13 @@ and
 switches will enable OAuth authentication.  The
 .B \-user
 switch must be used, and the
-.I user-name
+.I username
 must be an email address the user has for the service, which must
 be specified with the
 .B \-authservice
 .I service
-switch.  Before using this, the user must authorize nmh by running
+switch.  Before using OAuth authentication, the user must authorize nmh by
+running
 .B mhlogin
 and grant authorization to that account.  See the
 .IR mhlogin (1)