1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00

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
This commit is contained in:
kn 2022-12-22 19:53:22 +00:00
parent 2f31c0f799
commit 881f6c5ff0
25 changed files with 96 additions and 110 deletions

View File

@ -1,10 +1,10 @@
.\" $OpenBSD: expr.1,v 1.24 2017/08/16 20:10:58 schwarze Exp $ .\" $OpenBSD: expr.1,v 1.25 2022/12/22 19:53:22 kn Exp $
.\" $NetBSD: expr.1,v 1.9 1995/04/28 23:27:13 jtc Exp $ .\" $NetBSD: expr.1,v 1.9 1995/04/28 23:27:13 jtc Exp $
.\" .\"
.\" Written by J.T. Conklin <jtc@netbsd.org>. .\" Written by J.T. Conklin <jtc@netbsd.org>.
.\" Public domain. .\" Public domain.
.\" .\"
.Dd $Mdocdate: August 16 2017 $ .Dd $Mdocdate: December 22 2022 $
.Dt EXPR 1 .Dt EXPR 1
.Os .Os
.Sh NAME .Sh NAME
@ -12,11 +12,11 @@
.Nd evaluate expression .Nd evaluate expression
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm expr .Nm expr
.Ar expression .Ar expression ...
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
utility evaluates utility evaluates each
.Ar expression .Ar expression
and writes the result on standard output. and writes the result on standard output.
All operators are separate arguments to the All operators are separate arguments to the

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: route.8,v 1.108 2022/12/22 07:46:19 jmc Exp $ .\" $OpenBSD: route.8,v 1.109 2022/12/22 19:53:22 kn Exp $
.\" $NetBSD: route.8,v 1.6 1995/03/18 15:00:13 cgd Exp $ .\" $NetBSD: route.8,v 1.6 1995/03/18 15:00:13 cgd Exp $
.\" .\"
.\" Copyright (c) 1983, 1991, 1993 .\" Copyright (c) 1983, 1991, 1993
@ -42,8 +42,8 @@
.Op Fl T Ar rtable .Op Fl T Ar rtable
.Ar command .Ar command
.Oo .Oo
.Op Ar modifiers .Op Ar modifier ...
.Ar args .Ar arg ...
.Oc .Oc
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@ -112,7 +112,7 @@ option.
.Op Fl T Ar rtable .Op Fl T Ar rtable
.Tg .Tg
.Cm flush .Cm flush
.Op Ar modifiers .Op Ar modifier ...
.Xc .Xc
Delete all gateway entries from the routing table. Delete all gateway entries from the routing table.
When the address family is specified by any one of the When the address family is specified by any one of the
@ -132,7 +132,7 @@ modifiers.
.Op Fl T Ar rtable .Op Fl T Ar rtable
.Tg .Tg
.Cm get .Cm get
.Op Ar modifiers .Op Ar modifier ...
.Ar address .Ar address
.Xc .Xc
Extract a routing entry from the kernel. Extract a routing entry from the kernel.
@ -147,7 +147,7 @@ same address family as the destination are shown.
.Op Fl T Ar rtable .Op Fl T Ar rtable
.Tg .Tg
.Cm monitor .Cm monitor
.Op Ar modifiers .Op Ar modifier ...
.Xc .Xc
Continuously report any changes to the routing information base, Continuously report any changes to the routing information base,
routing lookup misses, or suspected network partitionings. routing lookup misses, or suspected network partitionings.
@ -303,7 +303,7 @@ have the syntax:
.Op Fl T Ar rtable .Op Fl T Ar rtable
.Tg .Tg
.Cm add .Cm add
.Op Ar modifiers .Op Ar modifier ...
.Ar destination gateway .Ar destination gateway
.Xc .Xc
.It Xo .It Xo
@ -312,7 +312,7 @@ have the syntax:
.Op Fl T Ar rtable .Op Fl T Ar rtable
.Tg .Tg
.Cm change .Cm change
.Op Ar modifiers .Op Ar modifier ...
.Ar destination gateway .Ar destination gateway
.Xc .Xc
.It Xo .It Xo
@ -322,7 +322,7 @@ have the syntax:
.Tg delete .Tg delete
.Tg .Tg
.Cm del Ns Op Cm ete .Cm del Ns Op Cm ete
.Op Ar modifiers .Op Ar modifier ...
.Ar destination gateway .Ar destination gateway
.Xc .Xc
.El .El

View File

@ -1,4 +1,4 @@
/* $OpenBSD: route.c,v 1.260 2021/11/10 20:24:22 bket Exp $ */ /* $OpenBSD: route.c,v 1.261 2022/12/22 19:53:22 kn Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/* /*
@ -135,9 +135,9 @@ usage(char *cp)
warnx("botched keyword: %s", cp); warnx("botched keyword: %s", cp);
fprintf(stderr, fprintf(stderr,
#ifndef SMALL #ifndef SMALL
"usage: %s [-dnqtv] [-T rtable] command [[modifiers] args]\n", "usage: %s [-dnqtv] [-T rtable] command [[modifier ...] arg ...]\n",
#else #else
"usage: %s [-dnqtv] command [[modifiers] args]\n", "usage: %s [-dnqtv] command [[modifier ...] arg ...]\n",
#endif #endif
__progname); __progname);
exit(1); exit(1);

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ddb.4,v 1.104 2022/09/11 06:38:11 jmc Exp $ .\" $OpenBSD: ddb.4,v 1.105 2022/12/22 19:53:22 kn Exp $
.\" $NetBSD: ddb.4,v 1.5 1994/11/30 16:22:09 jtc Exp $ .\" $NetBSD: ddb.4,v 1.5 1994/11/30 16:22:09 jtc Exp $
.\" .\"
.\" Mach Operating System .\" Mach Operating System
@ -25,7 +25,7 @@
.\" any improvements or extensions that they make and grant Carnegie Mellon .\" any improvements or extensions that they make and grant Carnegie Mellon
.\" the rights to redistribute these changes. .\" the rights to redistribute these changes.
.\" .\"
.Dd $Mdocdate: September 11 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt DDB 4 .Dt DDB 4
.Os .Os
.Sh NAME .Sh NAME
@ -1018,7 +1018,7 @@ A synonym for
.Tg machine .Tg machine
.It Xo .It Xo
.Ic mac Ns Op Ic hine .Ic mac Ns Op Ic hine
.Ar subcommand Op Ar args ... .Ar subcommand Op Ar arg ...
.Xc .Xc
Perform a platform-specific command. Perform a platform-specific command.
.Pp .Pp

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: cdio.1,v 1.67 2022/03/31 17:27:24 naddy Exp $ .\" $OpenBSD: cdio.1,v 1.68 2022/12/22 19:53:22 kn Exp $
.\" .\"
.\" Copyright (c) 1995 Serge V. Vakulenko .\" Copyright (c) 1995 Serge V. Vakulenko
.\" All rights reserved. .\" All rights reserved.
@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: March 31 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt CDIO 1 .Dt CDIO 1
.Os .Os
.Sh NAME .Sh NAME
@ -40,7 +40,7 @@
.Op Fl sv .Op Fl sv
.Op Fl d Ar host : Ns Ar port .Op Fl d Ar host : Ns Ar port
.Op Fl f Ar device .Op Fl f Ar device
.Op Ar command args ... .Op Ar command Op Ar arg ...
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm

View File

@ -1,4 +1,4 @@
/* $OpenBSD: cdio.c,v 1.84 2022/02/15 08:17:50 jsg Exp $ */ /* $OpenBSD: cdio.c,v 1.85 2022/12/22 19:53:22 kn Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko /* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved. * All rights reserved.
@ -227,7 +227,8 @@ help(void)
void void
usage(void) usage(void)
{ {
fprintf(stderr, "usage: %s [-sv] [-d host:port] [-f device] [command args ...]\n", fprintf(stderr, "usage: %s [-sv] [-d host:port] [-f device] "
"[command [arg ...]]\n",
__progname); __progname);
exit(1); exit(1);
} }

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: csplit.1,v 1.12 2015/10/24 15:32:50 zhuk Exp $ .\" $OpenBSD: csplit.1,v 1.13 2022/12/22 19:53:22 kn Exp $
.\" .\"
.\" Copyright (c) 2002 Tim J. Robbins. .\" Copyright (c) 2002 Tim J. Robbins.
.\" All rights reserved. .\" All rights reserved.
@ -26,7 +26,7 @@
.\" .\"
.\" $FreeBSD: src/usr.bin/csplit/csplit.1,v 1.11 2005/01/25 22:29:51 tjr Exp $ .\" $FreeBSD: src/usr.bin/csplit/csplit.1,v 1.11 2005/01/25 22:29:51 tjr Exp $
.\" .\"
.Dd $Mdocdate: October 24 2015 $ .Dd $Mdocdate: December 22 2022 $
.Dt CSPLIT 1 .Dt CSPLIT 1
.Os .Os
.Sh NAME .Sh NAME
@ -37,14 +37,15 @@
.Op Fl ks .Op Fl ks
.Op Fl f Ar prefix .Op Fl f Ar prefix
.Op Fl n Ar number .Op Fl n Ar number
.Ar file args ... .Ar file
.Ar arg ...
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
utility splits utility splits
.Ar file .Ar file
into pieces using the patterns into pieces using the pattern
.Ar args . .Ar arg .
If If
.Ar file .Ar file
is is
@ -92,8 +93,8 @@ created.
.El .El
.Pp .Pp
The The
.Ar args .Ar arg
operands may be a combination of the following patterns: operand may be a combination of the following patterns:
.Bl -tag -width indent .Bl -tag -width indent
.It Xo .It Xo
.Sm off .Sm off

View File

@ -1,4 +1,4 @@
/* $OpenBSD: csplit.c,v 1.10 2021/07/08 00:38:42 millert Exp $ */ /* $OpenBSD: csplit.c,v 1.11 2022/12/22 19:53:22 kn Exp $ */
/* $FreeBSD: src/usr.bin/csplit/csplit.c,v 1.9 2004/03/22 11:15:03 tjr Exp $ */ /* $FreeBSD: src/usr.bin/csplit/csplit.c,v 1.9 2004/03/22 11:15:03 tjr Exp $ */
/*- /*-
@ -214,7 +214,7 @@ usage(void)
extern char *__progname; extern char *__progname;
fprintf(stderr, fprintf(stderr,
"usage: %s [-ks] [-f prefix] [-n number] file args ...\n", "usage: %s [-ks] [-f prefix] [-n number] file arg ...\n",
__progname); __progname);
exit(1); exit(1);
} }

View File

@ -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> .\"Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
.\" .\"
@ -13,7 +13,7 @@
.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd $Mdocdate: January 16 2021 $ .Dd $Mdocdate: December 22 2022 $
.Dt DOAS 1 .Dt DOAS 1
.Os .Os
.Sh NAME .Sh NAME
@ -26,7 +26,7 @@
.Op Fl C Ar config .Op Fl C Ar config
.Op Fl u Ar user .Op Fl u Ar user
.Ar command .Ar command
.Op Ar args .Op Ar arg ...
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm

View File

@ -1,4 +1,4 @@
/* $OpenBSD: doas.c,v 1.97 2022/03/22 20:36:49 deraadt Exp $ */ /* $OpenBSD: doas.c,v 1.98 2022/12/22 19:53:22 kn Exp $ */
/* /*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
* *
@ -40,7 +40,7 @@ static void __dead
usage(void) usage(void)
{ {
fprintf(stderr, "usage: doas [-Lns] [-a style] [-C config] [-u user]" fprintf(stderr, "usage: doas [-Lns] [-a style] [-C config] [-u user]"
" command [args]\n"); " command [arg ...]\n");
exit(1); exit(1);
} }

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: mandoc.1,v 1.189 2022/08/02 11:55:51 schwarze Exp $ .\" $OpenBSD: mandoc.1,v 1.190 2022/12/22 19:53:23 kn Exp $
.\" .\"
.\" Copyright (c) 2012, 2014-2022 Ingo Schwarze <schwarze@openbsd.org> .\" Copyright (c) 2012, 2014-2022 Ingo Schwarze <schwarze@openbsd.org>
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: August 2 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt MANDOC 1 .Dt MANDOC 1
.Os .Os
.Sh NAME .Sh NAME
@ -765,7 +765,7 @@ Messages displayed by
follow this format: follow this format:
.Bd -ragged -offset indent .Bd -ragged -offset indent
.Nm : .Nm :
.Ar file : Ns Ar line : Ns Ar column : level : message : macro arguments .Ar file : Ns Ar line : Ns Ar column : level : message : macro argument ...
.Pq Ar os .Pq Ar os
.Ed .Ed
.Pp .Pp
@ -785,9 +785,7 @@ and
strings are explained below. strings are explained below.
The name of the The name of the
.Ar macro .Ar macro
triggering the message and its triggering the message and its arguments are omitted where meaningless.
.Ar arguments
are omitted where meaningless.
The The
.Ar os .Ar os
operating system specifier is omitted for messages that are relevant operating system specifier is omitted for messages that are relevant

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: openssl.1,v 1.139 2022/07/19 16:08:09 tb Exp $ .\" $OpenBSD: openssl.1,v 1.140 2022/12/22 19:53:23 kn Exp $
.\" ==================================================================== .\" ====================================================================
.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
.\" .\"
@ -110,7 +110,7 @@
.\" copied and put under another distribution licence .\" copied and put under another distribution licence
.\" [including the GNU Public Licence.] .\" [including the GNU Public Licence.]
.\" .\"
.Dd $Mdocdate: July 19 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt OPENSSL 1 .Dt OPENSSL 1
.Os .Os
.Sh NAME .Sh NAME
@ -119,8 +119,8 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Ar command .Ar command
.Op Ar command_opts .Op Ar command_opt ...
.Op Ar command_args .Op Ar command_arg ...
.Pp .Pp
.Nm .Nm
.Cm list-standard-commands | .Cm list-standard-commands |

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: su.1,v 1.37 2020/07/08 16:05:27 millert Exp $ .\" $OpenBSD: su.1,v 1.38 2022/12/22 19:53:23 kn Exp $
.\" .\"
.\" Copyright (c) 1988, 1990 The Regents of the University of California. .\" Copyright (c) 1988, 1990 The Regents of the University of California.
.\" All rights reserved. .\" All rights reserved.
@ -29,7 +29,7 @@
.\" .\"
.\" from: @(#)su.1 6.12 (Berkeley) 7/29/91 .\" from: @(#)su.1 6.12 (Berkeley) 7/29/91
.\" .\"
.Dd $Mdocdate: July 8 2020 $ .Dd $Mdocdate: December 22 2022 $
.Dt SU 1 .Dt SU 1
.Os .Os
.Sh NAME .Sh NAME
@ -42,7 +42,7 @@
.Op Fl a Ar auth-type .Op Fl a Ar auth-type
.Op Fl c Ar login-class .Op Fl c Ar login-class
.Op Fl s Ar login-shell .Op Fl s Ar login-shell
.Op Ar login Op Ar "shell arguments" .Op Ar login Op Ar shell-argument ...
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
The The
@ -168,10 +168,8 @@ and
options are mutually exclusive; the last one specified options are mutually exclusive; the last one specified
overrides any previous ones. overrides any previous ones.
.Pp .Pp
If the optional If shell arguments are provided on the command line,
.Ar "shell arguments" they are passed to the login shell of the target login.
are provided on the command line, they are passed to the login shell of
the target login.
This allows it to pass arbitrary commands via the This allows it to pass arbitrary commands via the
.Fl c .Fl c
option as understood by most shells. option as understood by most shells.

View File

@ -1,4 +1,4 @@
/* $OpenBSD: su.c,v 1.88 2022/03/23 02:18:22 deraadt Exp $ */ /* $OpenBSD: su.c,v 1.89 2022/12/22 19:53:23 kn Exp $ */
/* /*
* Copyright (c) 1988 The Regents of the University of California. * Copyright (c) 1988 The Regents of the University of California.
@ -487,7 +487,7 @@ usage(void)
fprintf(stderr, "usage: %s [-fKLlm] [-a auth-type] [-c login-class] " fprintf(stderr, "usage: %s [-fKLlm] [-a auth-type] [-c login-class] "
"[-s login-shell]\n" "[-s login-shell]\n"
"%-*s[login [shell arguments]]\n", __progname, "%-*s[login [shell-argument ...]]\n", __progname,
(int)strlen(__progname) + 8, ""); (int)strlen(__progname) + 8, "");
exit(1); exit(1);
} }

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: time.1,v 1.21 2019/01/01 16:17:03 tedu Exp $ .\" $OpenBSD: time.1,v 1.22 2022/12/22 19:53:23 kn Exp $
.\" $NetBSD: time.1,v 1.5 1994/12/08 09:36:57 jtc Exp $ .\" $NetBSD: time.1,v 1.5 1994/12/08 09:36:57 jtc Exp $
.\" .\"
.\" Copyright (c) 1980, 1991, 1993 .\" Copyright (c) 1980, 1991, 1993
@ -30,7 +30,7 @@
.\" .\"
.\" @(#)time.1 8.1 (Berkeley) 6/6/93 .\" @(#)time.1 8.1 (Berkeley) 6/6/93
.\" .\"
.Dd $Mdocdate: January 1 2019 $ .Dd $Mdocdate: December 22 2022 $
.Dt TIME 1 .Dt TIME 1
.Os .Os
.Sh NAME .Sh NAME
@ -44,9 +44,7 @@
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
executes and times executes and times
.Ar utility .Ar utility .
with optional
.Ar arguments .
After the After the
.Ar utility .Ar utility
finishes, finishes,

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: timeout.1,v 1.3 2021/09/04 11:58:31 schwarze Exp $ .\" $OpenBSD: timeout.1,v 1.4 2022/12/22 19:53:23 kn Exp $
.\" $NetBSD: timeout.1,v 1.4 2016/10/13 06:22:26 dholland Exp $ .\" $NetBSD: timeout.1,v 1.4 2016/10/13 06:22:26 dholland Exp $
.\" .\"
.\" Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org> .\" Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org>
@ -27,7 +27,7 @@
.\" .\"
.\" $FreeBSD: head/usr.bin/timeout/timeout.1 268861 2014-07-18 22:56:59Z bapt $ .\" $FreeBSD: head/usr.bin/timeout/timeout.1 268861 2014-07-18 22:56:59Z bapt $
.\" .\"
.Dd $Mdocdate: September 4 2021 $ .Dd $Mdocdate: December 22 2022 $
.Dt TIMEOUT 1 .Dt TIMEOUT 1
.Os .Os
.Sh NAME .Sh NAME
@ -41,14 +41,12 @@
.Op Fl -preserve-status .Op Fl -preserve-status
.Ar duration .Ar duration
.Ar command .Ar command
.Op Ar args .Op Ar arg ...
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
utility executes utility executes
.Ar command , .Ar command
with any
.Ar args ,
and kills it if it is still running after the and kills it if it is still running after the
specified specified
.Ar duration . .Ar duration .

View File

@ -1,4 +1,4 @@
/* $OpenBSD: timeout.c,v 1.21 2022/07/02 19:00:35 kn Exp $ */ /* $OpenBSD: timeout.c,v 1.22 2022/12/22 19:53:23 kn Exp $ */
/* /*
* Copyright (c) 2021 Job Snijders <job@openbsd.org> * Copyright (c) 2021 Job Snijders <job@openbsd.org>
@ -57,7 +57,7 @@ usage(void)
fprintf(stderr, fprintf(stderr,
"usage: timeout [-k time] [-s sig] [--foreground]" "usage: timeout [-k time] [-s sig] [--foreground]"
" [--preserve-status] duration\n" " [--preserve-status] duration\n"
" command [args]\n"); " command [arg ...]\n");
exit(1); exit(1);
} }

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: tmux.1,v 1.909 2022/12/16 08:13:40 nicm Exp $ .\" $OpenBSD: tmux.1,v 1.910 2022/12/22 19:53:23 kn Exp $
.\" .\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> .\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\" .\"
@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: December 16 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt TMUX 1 .Dt TMUX 1
.Os .Os
.Sh NAME .Sh NAME
@ -961,7 +961,7 @@ Will run
directly without invoking the shell. directly without invoking the shell.
.Pp .Pp
.Ar command .Ar command
.Op Ar arguments .Op Ar argument ...
refers to a refers to a
.Nm .Nm
command, either passed with the command and arguments separately, for example: command, either passed with the command and arguments separately, for example:
@ -1538,8 +1538,7 @@ show debugging information about jobs and terminals.
.Tg source .Tg source
.It Xo Ic source-file .It Xo Ic source-file
.Op Fl Fnqv .Op Fl Fnqv
.Ar path .Ar path ...
.Ar ...
.Xc .Xc
.D1 Pq alias: Ic source .D1 Pq alias: Ic source
Execute commands from one or more files specified by Execute commands from one or more files specified by
@ -3120,7 +3119,7 @@ Commands related to key bindings are as follows:
.Op Fl nr .Op Fl nr
.Op Fl N Ar note .Op Fl N Ar note
.Op Fl T Ar key-table .Op Fl T Ar key-table
.Ar key command Op Ar arguments .Ar key command Op Ar argument ...
.Xc .Xc
.D1 Pq alias: Ic bind .D1 Pq alias: Ic bind
Bind key Bind key
@ -3216,7 +3215,7 @@ lists the command for keys that do not have a note rather than skipping them.
.Op Fl c Ar target-client .Op Fl c Ar target-client
.Op Fl N Ar repeat-count .Op Fl N Ar repeat-count
.Op Fl t Ar target-pane .Op Fl t Ar target-pane
.Ar key Ar ... .Ar key ...
.Xc .Xc
.D1 Pq alias: Ic send .D1 Pq alias: Ic send
Send a key or keys to a window or client. Send a key or keys to a window or client.
@ -5821,8 +5820,7 @@ until it is dismissed.
.Op Fl y Ar position .Op Fl y Ar position
.Ar name .Ar name
.Ar key .Ar key
.Ar command .Ar command Op Ar argument ...
.Ar ...
.Xc .Xc
.D1 Pq alias: Ic menu .D1 Pq alias: Ic menu
Display a menu on Display a menu on

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: tput.1,v 1.25 2022/07/25 02:25:56 jsg Exp $ .\" $OpenBSD: tput.1,v 1.26 2022/12/22 19:53:24 kn Exp $
.\" $NetBSD: tput.1,v 1.4 1994/12/07 08:49:10 jtc Exp $ .\" $NetBSD: tput.1,v 1.4 1994/12/07 08:49:10 jtc Exp $
.\" .\"
.\" Copyright (c) 1989, 1990, 1993 .\" Copyright (c) 1989, 1990, 1993
@ -30,7 +30,7 @@
.\" .\"
.\" @(#)tput.1 8.2 (Berkeley) 3/19/94 .\" @(#)tput.1 8.2 (Berkeley) 3/19/94
.\" .\"
.Dd $Mdocdate: July 25 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt TPUT 1 .Dt TPUT 1
.Os .Os
.Sh NAME .Sh NAME
@ -41,7 +41,7 @@
.Nm tput .Nm tput
.Op Fl T Ar term .Op Fl T Ar term
.Ar attribute .Ar attribute
.Op Ar attribute-args .Op Ar attribute-arg ...
.Ar ... .Ar ...
.Nm tput .Nm tput
.Op Fl T Ar term .Op Fl T Ar term

View File

@ -1,4 +1,4 @@
/* $OpenBSD: tput.c,v 1.25 2022/12/04 23:50:49 cheloha Exp $ */ /* $OpenBSD: tput.c,v 1.26 2022/12/22 19:53:24 kn Exp $ */
/* /*
* Copyright (c) 1999 Todd C. Miller <millert@openbsd.org> * Copyright (c) 1999 Todd C. Miller <millert@openbsd.org>
@ -390,7 +390,7 @@ usage(void)
(void)fprintf(stderr, "usage: %s [-T term]\n", __progname); (void)fprintf(stderr, "usage: %s [-T term]\n", __progname);
else else
(void)fprintf(stderr, (void)fprintf(stderr,
"usage: %s [-T term] attribute [attribute-args] ...\n" "usage: %s [-T term] attribute [attribute-arg ...] ...\n"
" %s [-T term] -S\n", __progname, __progname); " %s [-T term] -S\n", __progname, __progname);
exit(1); exit(1);
} }

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: bgpctl.8,v 1.102 2022/10/17 15:04:12 claudio Exp $ .\" $OpenBSD: bgpctl.8,v 1.103 2022/12/22 19:53:24 kn Exp $
.\" .\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org> .\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\" .\"
@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: October 17 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt BGPCTL 8 .Dt BGPCTL 8
.Os .Os
.Sh NAME .Sh NAME
@ -127,21 +127,19 @@ Bring the BGP session to the specified neighbor up.
may be the neighbor's address, description or the word may be the neighbor's address, description or the word
.Cm group .Cm group
followed by a group description. followed by a group description.
.It Cm network add Ar prefix Op Ar arguments .It Cm network add Ar prefix Op Ar argument ...
Add the specified prefix to the list of announced networks. Add the specified prefix to the list of announced networks.
It is possible to set various path attributes with additional It is possible to set various path attributes with additional arguments.
.Ar arguments .
Adding a prefix will replace an existing equal prefix, including Adding a prefix will replace an existing equal prefix, including
prefixes loaded from the configuration. prefixes loaded from the configuration.
.It Xo .It Xo
.Cm network bulk .Cm network bulk
.Op Ar arguments .Op Ar argument ...
.Op Cm add .Op Cm add
.Xc .Xc
Bulk add specified prefixes to the list of announced networks. Bulk add specified prefixes to the list of announced networks.
Prefixes should be sent via stdin. Prefixes should be sent via stdin.
It is possible to set various path attributes with additional It is possible to set various path attributes with additional arguments.
.Ar arguments .
If neither If neither
.Cm add .Cm add
or or

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: bgpd.conf.5,v 1.226 2022/07/21 12:34:19 claudio Exp $ .\" $OpenBSD: bgpd.conf.5,v 1.227 2022/12/22 19:53:24 kn Exp $
.\" .\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> .\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> .\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: July 21 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt BGPD.CONF 5 .Dt BGPD.CONF 5
.Os .Os
.Sh NAME .Sh NAME
@ -730,7 +730,7 @@ More than one
.Ic import-target .Ic import-target
can be specified. can be specified.
.Pp .Pp
.It Ic network Ar arguments ... .It Ic network Ar argument ...
Announce the given networks within this VPN; Announce the given networks within this VPN;
see the see the
.Sx NETWORK ANNOUNCEMENTS .Sx NETWORK ANNOUNCEMENTS

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: btrace.8,v 1.7 2022/05/01 20:23:11 bluhm Exp $ .\" $OpenBSD: btrace.8,v 1.8 2022/12/22 19:53:24 kn Exp $
.\" .\"
.\" Copyright (c) 2019 Martin Pieuchot <mpi@openbsd.org> .\" Copyright (c) 2019 Martin Pieuchot <mpi@openbsd.org>
.\" .\"
@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: May 1 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt BTRACE 8 .Dt BTRACE 8
.Os .Os
.Sh NAME .Sh NAME
@ -34,8 +34,6 @@ It interprets the
.Xr bt 5 .Xr bt 5
program in program in
.Ar file .Ar file
with optional
.Ar arguments
and communicates with the dynamic tracer device using the interface described in and communicates with the dynamic tracer device using the interface described in
.Xr dt 4 . .Xr dt 4 .
.Pp .Pp

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: rcctl.8,v 1.42 2022/09/13 06:20:38 jmc Exp $ .\" $OpenBSD: rcctl.8,v 1.43 2022/12/22 19:53:24 kn Exp $
.\" .\"
.\" Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org> .\" Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
.\" .\"
@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: September 13 2022 $ .Dd $Mdocdate: December 22 2022 $
.Dt RCCTL 8 .Dt RCCTL 8
.Os .Os
.Sh NAME .Sh NAME
@ -23,7 +23,7 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm rcctl .Nm rcctl
.Cm get Ns | Ns Cm getdef Ns | Ns Cm set .Cm get Ns | Ns Cm getdef Ns | Ns Cm set
.Ar service | daemon Op Ar variable Op Ar arguments .Ar service | daemon Op Ar variable Op Ar argument ...
.Nm rcctl .Nm rcctl
.Op Fl df .Op Fl df
.Sm off .Sm off
@ -146,17 +146,15 @@ command is only needed after enabling a new daemon
that needs to run before one or more already enabled daemons. that needs to run before one or more already enabled daemons.
Specify the new daemon preceded by all that need to run before it, Specify the new daemon preceded by all that need to run before it,
but not the ones depending on it. but not the ones depending on it.
.It Cm set Ar service | daemon variable Op Ar arguments .It Cm set Ar service | daemon variable Op Ar argument ...
For a daemon, set the variable For a daemon, set the variable
.Ar daemon Ns _ Ns Ar variable .Ar daemon Ns _ Ns Ar variable
to the specified to the specified arguments.
.Ar arguments .
If If
.Ar variable .Ar variable
is already set, is already set,
.Ar daemon Ns _ Ns Ar variable .Ar daemon Ns _ Ns Ar variable
is reset to the optionally provided is reset to the optionally provided arguments.
.Ar arguments
or to its default value. or to its default value.
.Pp .Pp
The The
@ -166,7 +164,7 @@ must be provided with the
.Cm on .Cm on
or or
.Cm off .Cm off
.Ar arguments . arguments.
It is used to enable or disable It is used to enable or disable
.Ar service .Ar service
or or

View File

@ -1,6 +1,6 @@
#!/bin/ksh #!/bin/ksh
# #
# $OpenBSD: rcctl.sh,v 1.114 2022/09/01 07:25:32 ajacoutot Exp $ # $OpenBSD: rcctl.sh,v 1.115 2022/12/22 19:53:24 kn Exp $
# #
# Copyright (c) 2014, 2015-2022 Antoine Jacoutot <ajacoutot@openbsd.org> # Copyright (c) 2014, 2015-2022 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org> # Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@ -32,7 +32,7 @@ usage()
for _i in ${_rc_actions}; do _a="$(echo -n ${_i}${_a:+|${_a}})"; done for _i in ${_rc_actions}; do _a="$(echo -n ${_i}${_a:+|${_a}})"; done
_rc_err \ _rc_err \
"usage: rcctl get|getdef|set service | daemon [variable [arguments]] "usage: rcctl get|getdef|set service | daemon [variable [argument ...]]
rcctl [-df] ${_a} daemon ... rcctl [-df] ${_a} daemon ...
rcctl disable|enable|order [daemon ...] rcctl disable|enable|order [daemon ...]
rcctl ls all|failed|off|on|rogue|started|stopped" rcctl ls all|failed|off|on|rogue|started|stopped"