Skip to content

Commit

Permalink
Be more explicit by stating that the -n flag is linked to the nopass …
Browse files Browse the repository at this point in the history
…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@
  • Loading branch information
martijn authored and Duncaen committed Jan 28, 2021
1 parent d5acd52 commit 6e3c6ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doas.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e3c6ba

Please sign in to comment.