diff options
author | green <green@FreeBSD.org> | 2004-04-06 22:03:38 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-04-06 22:03:38 +0000 |
commit | 837e6e7a48de17c94632a57c371fb48d5479a5e1 (patch) | |
tree | 1ee8880260409ce9b9942c200f20939667a50df5 /bin/date | |
parent | 3a7da58e6191965158723c89f1486b285ec69f67 (diff) | |
download | FreeBSD-src-837e6e7a48de17c94632a57c371fb48d5479a5e1.zip FreeBSD-src-837e6e7a48de17c94632a57c371fb48d5479a5e1.tar.gz |
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.
Diffstat (limited to 'bin/date')
-rw-r--r-- | bin/date/date.1 | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1 index 0ce110b..908505d 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -38,11 +38,9 @@ .Nm date .Nd display or set date and time .Sh SYNOPSIS -.Nm -.Op Fl jnu -.Op Fl d Ar dst +.Nm +.Op Fl ju .Op Fl r Ar seconds -.Op Fl t Ar minutes_west .Oo .Fl v .Sm off @@ -51,15 +49,21 @@ .Sm on .Oc .Ar ... -.Oo -.Fl f -.Ar fmt date | +.Op Cm + Ns Ar output_fmt +.Nm +.Op Fl jnu .Sm off .Op Oo Oo Oo Oo Ar cc Oc Ar yy Oc Ar mm Oc Ar dd Oc Ar HH .Ar MM Op Ar .ss .Sm on -.Oc -.Op Cm + Ns Ar format +.Nm +.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 When invoked without arguments, the .Nm |