diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-12-22 19:53:25 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-12-22 19:53:25 +0000 |
commit | dcd007097b9192d37a4b39e41094f0b07bfbe237 (patch) | |
tree | 5d14384480414cca7c4af172ac9a9dec1b03fdb2 /usr.bin/doas/doas.1 | |
parent | 7cffd29be8ddc926f78306a722ae0466ca092588 (diff) |
Denote multiple arguments with 'arg ...' not 'args'
A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.
mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent
use of 'arg ...' matches that behaviour.
Cleanup a few markups of the same argument so the text keeps reading
naturally; omit unhelpful parts like 'if optional arguments are given,
they are passed along' for tools like time(1) and timeout(1) that obviously
execute commands with whatever arguments where given -- just like doas(1)
which doesn't mention arguments in its DESCRIPTION in the first place.
For expr(1) the difference between 'expressions' and 'expression ...' is
crucial, as arguments must be passed as individual words.
Feedback millert jmc schwarze deraadt
OK jmc
Diffstat (limited to 'usr.bin/doas/doas.1')
-rw-r--r-- | usr.bin/doas/doas.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/doas/doas.1 b/usr.bin/doas/doas.1 index 4d2e09777c8..25827cc7104 100644 --- a/usr.bin/doas/doas.1 +++ b/usr.bin/doas/doas.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: doas.1,v 1.25 2021/01/16 09:18:41 martijn Exp $ +.\" $OpenBSD: doas.1,v 1.26 2022/12/22 19:53:22 kn 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: January 16 2021 $ +.Dd $Mdocdate: December 22 2022 $ .Dt DOAS 1 .Os .Sh NAME @@ -26,7 +26,7 @@ .Op Fl C Ar config .Op Fl u Ar user .Ar command -.Op Ar args +.Op Ar arg ... .Sh DESCRIPTION The .Nm |