From 6e3c6ba4af9c04ba7f59c859148864aa895851cc Mon Sep 17 00:00:00 2001 From: martijn Date: Fri, 15 Jan 2021 08:32:55 +0000 Subject: [PATCH] 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@ --- doas.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doas.1 b/doas.1 index 7360be3..2f72ca9 100644 --- a/doas.1 +++ b/doas.1 @@ -89,9 +89,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 -- 2.39.2