Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/touch Note that -d, -r, and -t are mutually exclusiv...



details:   https://anonhg.NetBSD.org/src/rev/632e22d530ea
branches:  trunk
changeset: 782260:632e22d530ea
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Oct 24 02:46:25 2012 +0000

description:
Note that -d, -r, and -t are mutually exclusive and only the last one
is used.

While here, alphabetize the other list of r/d/t flags.

diffstat:

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

diffs (34 lines):

diff -r d84f855920f6 -r 632e22d530ea usr.bin/touch/touch.1
--- a/usr.bin/touch/touch.1     Wed Oct 24 01:12:51 2012 +0000
+++ b/usr.bin/touch/touch.1     Wed Oct 24 02:46:25 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: touch.1,v 1.24 2012/10/23 20:44:22 wiz Exp $
+.\"    $NetBSD: touch.1,v 1.25 2012/10/24 02:46:25 pgoyette Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -138,6 +138,14 @@
 .Dq SS
 letter pair is not specified, the value defaults to 0.
 .El
+.Pp
+The
+.Fl d ,
+.Fl r ,
+and
+.Fl t
+options are mutually exclusive.
+If more than one of these options is present, the last one is used.
 .Sh EXIT STATUS
 .Ex -std
 .Sh COMPATIBILITY
@@ -145,8 +153,8 @@
 .Nm ,
 where a time format is specified as the first argument, is supported.
 When no
+.Fl d ,
 .Fl r ,
-.Fl d ,
 or
 .Fl t
 option is specified, there are at least two arguments, and the first



Home | Main Index | Thread Index | Old Index