From: jmc Date: Tue, 30 Jul 2024 13:58:02 +0000 (+0000) Subject: fold the "timespec" info into the options list (since "time_arg" is already X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0262ea74b01d19161bc6923501e0025b04e4c092;p=openbsd fold the "timespec" info into the options list (since "time_arg" is already there). move the information of "time_arg" matching touch -t to the "time_arg" description, instead of "timespec". ok millert --- diff --git a/usr.bin/at/at.1 b/usr.bin/at/at.1 index 92295a5bfbd..7118022267e 100644 --- a/usr.bin/at/at.1 +++ b/usr.bin/at/at.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: at.1,v 1.57 2024/07/29 20:25:55 jmc Exp $ +.\" $OpenBSD: at.1,v 1.58 2024/07/30 13:58:02 jmc Exp $ .\" .\" Copyright (C) 1993, 1994 Thomas Koenig .\" Copyright (C) 1993 David Parsons @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 29 2024 $ +.Dd $Mdocdate: July 30 2024 $ .Dt AT 1 .Os .Sh NAME @@ -129,7 +129,11 @@ queue. .It Fl t Ar time_arg Specify the job time. The argument should be of the form -.Oo Oo Ar cc Oc Ns Ar yy Oc Ns Ar mmddHHMM Ns Op \&. Ns Ar SS , +.Oo Oo Ar cc Oc Ns Ar yy Oc Ns Ar mmddHHMM Ns Op \&. Ns Ar SS +(matching +.Xr touch 1 Ap s +.Fl t +format), where the parts of the argument represent the following: .Pp .Bl -tag -width Ds -compact -offset indent @@ -157,10 +161,12 @@ a number from 0 to 60 preceded by a period. The default is 0. .El -.El -.Pp +.It Ar timespec +As well as the +.Fl t +option, .Nm at -allows some moderately complex +alternatively allows some moderately complex .Ar timespec specifications. It accepts times of the form @@ -235,14 +241,7 @@ To run a job at 1am tomorrow, use .Ic at 1am tomorrow . To run a job at midnight in one week's time, use .Ic at midnight next week . -.Pp -The -.Nm at -utility also supports the time format used by -.Xr touch 1 -(see the -.Fl t -option). +.El .Pp For both .Nm at