summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2024-07-30 13:58:03 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2024-07-30 13:58:03 +0000
commit0faa3a8e0750ad2540f9e150d703fc9e05c85b28 (patch)
tree24dd8eb4caf0f06ca6a02a702031767013e72b99 /usr.bin
parent6e8e3666608833ba073f043b6dafc6a1bdd26aa8 (diff)
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
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/at/at.127
1 files changed, 13 insertions, 14 deletions
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