From 837e6e7a48de17c94632a57c371fb48d5479a5e1 Mon Sep 17 00:00:00 2001 From: green Date: Tue, 6 Apr 2004 22:03:38 +0000 Subject: 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. --- bin/date/date.1 | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'bin') 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 -- cgit v1.1