mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-05 16:10:55 +00:00
Give date(1) a much better SYNOPSIS section which is useful as more than
decoration. Further improvements are welcome, but at least this is a separate of the various modes of operation date has, as well as sectioning off the two deprecated options for settimeofday(tz) that don't even apply to actual operation of date as such, anyway.
This commit is contained in:
parent
dccd431fa6
commit
640c4d40fb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127964
|
@ -38,11 +38,9 @@
|
||||||
.Nm date
|
.Nm date
|
||||||
.Nd display or set date and time
|
.Nd display or set date and time
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl jnu
|
.Op Fl ju
|
||||||
.Op Fl d Ar dst
|
|
||||||
.Op Fl r Ar seconds
|
.Op Fl r Ar seconds
|
||||||
.Op Fl t Ar minutes_west
|
|
||||||
.Oo
|
.Oo
|
||||||
.Fl v
|
.Fl v
|
||||||
.Sm off
|
.Sm off
|
||||||
|
@ -51,15 +49,21 @@
|
||||||
.Sm on
|
.Sm on
|
||||||
.Oc
|
.Oc
|
||||||
.Ar ...
|
.Ar ...
|
||||||
.Oo
|
.Op Cm + Ns Ar output_fmt
|
||||||
.Fl f
|
.Nm
|
||||||
.Ar fmt date |
|
.Op Fl jnu
|
||||||
.Sm off
|
.Sm off
|
||||||
.Op Oo Oo Oo Oo Ar cc Oc Ar yy Oc Ar mm Oc Ar dd Oc Ar HH
|
.Op Oo Oo Oo Oo Ar cc Oc Ar yy Oc Ar mm Oc Ar dd Oc Ar HH
|
||||||
.Ar MM Op Ar .ss
|
.Ar MM Op Ar .ss
|
||||||
.Sm on
|
.Sm on
|
||||||
.Oc
|
.Nm
|
||||||
.Op Cm + Ns Ar format
|
.Op Fl jnu
|
||||||
|
.Fl f
|
||||||
|
.Ar input_fmt new_date
|
||||||
|
.Op Cm + Ns Ar output_fmt
|
||||||
|
.Nm
|
||||||
|
.Op Fl d Ar dst
|
||||||
|
.Op Fl t Ar minutes_west
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
When invoked without arguments, the
|
When invoked without arguments, the
|
||||||
.Nm
|
.Nm
|
||||||
|
|
Loading…
Reference in a new issue