summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartijn <martijn@openbsd.org>2021-01-15 08:32:55 +0000
committermartijn <martijn@openbsd.org>2021-01-15 08:32:55 +0000
commit44b4717f2c60d19aa4f8933d5074bcb0027dc893 (patch)
treeb2129f3663007bb57f9ae37da4ded026f8be35b7
parentnow we report more addresses to the host (diff)
downloadwireguard-openbsd-44b4717f2c60d19aa4f8933d5074bcb0027dc893.tar.xz
wireguard-openbsd-44b4717f2c60d19aa4f8933d5074bcb0027dc893.zip
Be more explicit by stating that the -n flag is linked to the nopass option
in doas.conf instead of a generic "would prompt for password", which could lead people into believing that persist could work with this option. OK tedu@ Feedback and OK kn@
-rw-r--r--usr.bin/doas/doas.110
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/doas/doas.1 b/usr.bin/doas/doas.1
index fc769bdb336..e673927de3e 100644
--- a/usr.bin/doas/doas.1
+++ b/usr.bin/doas/doas.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doas.1,v 1.23 2019/07/04 19:04:17 tedu Exp $
+.\" $OpenBSD: doas.1,v 1.24 2021/01/15 08:32:55 martijn Exp $
.\"
.\"Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
.\"
@@ -13,7 +13,7 @@
.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: July 4 2019 $
+.Dd $Mdocdate: January 15 2021 $
.Dt DOAS 1
.Os
.Sh NAME
@@ -98,9 +98,9 @@ Clear any persisted authorizations from previous invocations,
then immediately exit.
No command is executed.
.It Fl n
-Non interactive mode, fail if
-.Nm
-would prompt for password.
+Non interactive mode, fail if the matching rule doesn't have the
+.Ic nopass
+option.
.It Fl s
Execute the shell from
.Ev SHELL