Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2025 09:05:17 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 37983aef7c70 - main - Add quiet/-q option to  /usr/sbin/service
Message-ID:  <20250612110517.6f159a02@ernst.home>
In-Reply-To: <202506112316.55BNGWQs045953@gitrepo.freebsd.org>
References:  <202506112316.55BNGWQs045953@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Jun 2025 23:16:32 GMT
Warner Losh <imp@FreeBSD.org> wrote:

> The branch main has been updated by imp:
>=20
> URL: https://cgit.FreeBSD.org/src/commit/?id=3D37983aef7c70b738cf63923bc=
fd2c4ae03ac5779
>=20
> commit 37983aef7c70b738cf63923bcfd2c4ae03ac5779
> Author:     Dan Mahoney <github@gushi.org>
> AuthorDate: 2025-05-25 08:54:33 +0000
> Commit:     Warner Losh <imp@FreeBSD.org>
> CommitDate: 2025-06-11 23:16:21 +0000
>=20
>     Add quiet/-q option to /usr/sbin/service
>    =20
>     Signed-off-by: Dan Mahoney <freebsd@gushi.org>
>     Reviewed by: imp
>     Pull Request: https://github.com/freebsd/freebsd-src/pull/1709
>     Closes: https://github.com/freebsd/freebsd-src/pull/1709
> ---
>  usr.sbin/service/service.8  |  3 +++
>  usr.sbin/service/service.sh | 23 +++++++++++++++++++----
>  2 files changed, 22 insertions(+), 4 deletions(-)
>=20
> diff --git a/usr.sbin/service/service.8 b/usr.sbin/service/service.8
> index a8f1a509885f..b8917138f478 100644
> --- a/usr.sbin/service/service.8
> +++ b/usr.sbin/service/service.8
> @@ -45,6 +45,7 @@
>  .Fl r
>  .Nm
>  .Op Fl j Ar jail
> +.Op Fl q
>  .Op Fl v
>  .Op Fl E Ar var=3Dvalue
>  .Ar script
> @@ -115,6 +116,8 @@ as in
>  above, but list all of the files, not just what is enabled.
>  .It Fl v
>  Be slightly more verbose.
> +.It Fl v
> +Be quiet, redirecting output to /dev/null.

So, Warner, you have -v twice in service.8.  The second -v should be -q.

=2D-=20
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250612110517.6f159a02>