Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2022 08:11:32 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d46d907a2631 - main - sleep.1: Fix mdoc style
Message-ID:  <202205250811.24P8BW45052482@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=d46d907a26310881241683862e674f0f2284eb53

commit d46d907a26310881241683862e674f0f2284eb53
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-05-25 08:09:29 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-05-25 08:11:33 +0000

    sleep.1: Fix mdoc style
    
    Fixes:  be038c3afcae bin/sleep: add support for multiple delay values
    MFC after:      1 week
---
 bin/sleep/sleep.1 | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1
index f7da87152f99..73fa4854d1a6 100644
--- a/bin/sleep/sleep.1
+++ b/bin/sleep/sleep.1
@@ -32,7 +32,7 @@
 .\"	@(#)sleep.1	8.3 (Berkeley) 4/18/94
 .\" $FreeBSD$
 .\"
-.Dd May 24, 2022
+.Dd May 25, 2022
 .Dt SLEEP 1
 .Os
 .Sh NAME
@@ -40,20 +40,21 @@
 .Nd suspend execution for an interval of time
 .Sh SYNOPSIS
 .Nm
-.Ar number[unit] ...
+.Ar number Ns Op Ar unit
+.Ar ...
 .Sh DESCRIPTION
 The
 .Nm
 command suspends execution for a minimum of
 .Ar number
 seconds (the default, or unit
-.Ar s ) ,
+.Cm s ) ,
 minutes (unit
-.Ar m ) ,
+.Cm m ) ,
 hours (unit
-.Ar h ) ,
+.Cm h ) ,
 or days (unit
-.Ar d ) .
+.Cm d ) .
 If multiple arguments are passed, the delay will be the sum of all values.
 .Pp
 If the



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