On Wed, 11 Jun 2025 23:16:32 GMT Warner Losh <i...@freebsd.org> wrote:
> The branch main has been updated by imp: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=37983aef7c70b738cf63923bcfd2c4ae03ac5779 > > commit 37983aef7c70b738cf63923bcfd2c4ae03ac5779 > Author: Dan Mahoney <git...@gushi.org> > AuthorDate: 2025-05-25 08:54:33 +0000 > Commit: Warner Losh <i...@freebsd.org> > CommitDate: 2025-06-11 23:16:21 +0000 > > Add quiet/-q option to /usr/sbin/service > > Signed-off-by: Dan Mahoney <free...@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(-) > > 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=value > .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. -- Gary Jennejohn