Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/touch Mention option arguments in DESCRIPTION.



details:   https://anonhg.NetBSD.org/src/rev/463c6d14c79b
branches:  trunk
changeset: 780510:463c6d14c79b
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Jul 27 18:34:35 2012 +0000

description:
Mention option arguments in DESCRIPTION.

diffstat:

 usr.bin/touch/touch.1 |  25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diffs (63 lines):

diff -r f1921eda1205 -r 463c6d14c79b usr.bin/touch/touch.1
--- a/usr.bin/touch/touch.1     Fri Jul 27 18:28:53 2012 +0000
+++ b/usr.bin/touch/touch.1     Fri Jul 27 18:34:35 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: touch.1,v 1.20 2012/07/25 01:23:46 christos Exp $
+.\"    $NetBSD: touch.1,v 1.21 2012/07/27 18:34:35 wiz Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -41,9 +41,9 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl acfhm
+.Op Fl d Ar human-datetime
 .Op Fl r Ar file
-.Op Fl t Ar [[CC]YY]MMDDhhmm[.SS]
-.Op Fl d Ar human-datetime
+.Op Fl t Ar datetime
 .Ar file ...
 .Sh DESCRIPTION
 The
@@ -53,7 +53,7 @@
 If the file doesn't exist, it is created with default permissions.
 .Pp
 The following options are available:
-.Bl -tag -width Ds
+.Bl -tag -width "-d human-datetime"
 .It Fl a
 Change the access time of the file.
 The modification time of the file is not changed unless the
@@ -65,8 +65,10 @@
 .Nm
 utility does not treat this as an error.
 No error messages are displayed and the exit value is not affected.
-.It Fl d
-The parse the argument using the human datetime parser
+.It Fl d Ar human-datetime
+Parse
+.Ar human-datetime
+using the human datetime parser
 .Xr parsedate 3 .
 .It Fl f
 This flag has no effect; it is accepted for compatibility reasons.
@@ -81,12 +83,15 @@
 The access time of the file is not changed unless the
 .Fl a
 flag is also specified.
-.It Fl r
-Use the access and modifications times from the specified file
+.It Fl r Ar file
+Use the access and modifications times from
+.Ar file
 instead of the current time of day.
-.It Fl t
+.It Fl t Ar datetime
 Change the access and modification times to the specified time.
-The argument should be in the form
+The argument
+.Ar datetime
+should be in the form
 .Dq [[CC]YY]MMDDhhmm[.SS]
 where each pair of letters represents the following:
 .Pp



Home | Main Index | Thread Index | Old Index