svn commit: r244448 - projects/mtree/contrib/mtree
Brooks Davis
brooks at FreeBSD.org
Wed Dec 19 23:27:24 UTC 2012
Author: brooks
Date: Wed Dec 19 23:27:23 2012
New Revision: 244448
URL: http://svnweb.freebsd.org/changeset/base/244448
Log:
Remove the -T flag. We won't be going that route.
Modified:
projects/mtree/contrib/mtree/mtree.8
projects/mtree/contrib/mtree/mtree.c
Modified: projects/mtree/contrib/mtree/mtree.8
==============================================================================
--- projects/mtree/contrib/mtree/mtree.8 Wed Dec 19 21:00:22 2012 (r244447)
+++ projects/mtree/contrib/mtree/mtree.8 Wed Dec 19 23:27:23 2012 (r244448)
@@ -64,7 +64,7 @@
.Nd map a directory hierarchy
.Sh SYNOPSIS
.Nm
-.Op Fl CcDdejLlMnPqrSTtUuWx
+.Op Fl CcDdejLlMnPqrStUuWx
.Op Fl i | Fl m
.Op Fl E Ar tags
.Op Fl f Ar spec
@@ -307,18 +307,9 @@ of the files for which the keyword
.Sy cksum
was specified.
The checksum is seeded with the specified value.
-.It Fl T
-.Em Do not
-modify the modified time of existing files, the device type of devices, and
-symbolic link targets, to match the specification.
-This is the default on systems other than
-.Fx .
.It Fl t
Modify the modified time of existing files, the device type of devices, and
symbolic link targets, to match the specification.
-This is the default on
-.Fx
-systems.
.It Fl U
Same as
.Fl u
Modified: projects/mtree/contrib/mtree/mtree.c
==============================================================================
--- projects/mtree/contrib/mtree/mtree.c Wed Dec 19 21:00:22 2012 (r244447)
+++ projects/mtree/contrib/mtree/mtree.c Wed Dec 19 23:27:23 2012 (r244448)
@@ -79,12 +79,8 @@ main(int argc, char **argv)
spec1 = stdin;
spec2 = NULL;
-#ifdef __FreeBSD__
- tflag = 1;
-#endif
-
while ((ch = getopt(argc, argv,
- "cCdDeE:f:I:ijk:K:lLmMnN:p:PqrR:s:StTuUWxX:"))
+ "cCdDeE:f:I:ijk:K:lLmMnN:p:PqrR:s:StuUWxX:"))
!= -1) {
switch((char)ch) {
case 'c':
@@ -191,9 +187,6 @@ main(int argc, char **argv)
case 't':
tflag = 1;
break;
- case 'T':
- tflag = 0;
- break;
case 'u':
uflag = 1;
break;
@@ -270,7 +263,7 @@ usage(void)
{
fprintf(stderr,
- "usage: %s [-CcDdejLlMnPqrSTtUuWx] [-i|-m] [-E tags]\n"
+ "usage: %s [-CcDdejLlMnPqrStUuWx] [-i|-m] [-E tags]\n"
"\t\t[-f spec] [-f spec]\n"
"\t\t[-I tags] [-K keywords] [-k keywords] [-N dbdir] [-p path]\n"
"\t\t[-R keywords] [-s seed] [-X exclude-file]\n",
More information about the svn-src-projects
mailing list