svn commit: r216343 - head/usr.bin/stat
Doug Barton
dougb at FreeBSD.org
Thu Dec 9 23:57:23 UTC 2010
Author: dougb
Date: Thu Dec 9 23:57:23 2010
New Revision: 216343
URL: http://svn.freebsd.org/changeset/base/216343
Log:
Bring in the change from OpenBSD's 1.14:
"synchronize synopsis and usage; "-l", "-r", "-s" and "-x" are mutually
exclusive; while here, slightly improve spacing in the source code
so it fits on a 80-column display again.
diff greatly improved by martynas@"
Obtained from: sobrado at OpenBSD.org
Modified:
head/usr.bin/stat/stat.c
Modified: head/usr.bin/stat/stat.c
==============================================================================
--- head/usr.bin/stat/stat.c Thu Dec 9 22:05:16 2010 (r216342)
+++ head/usr.bin/stat/stat.c Thu Dec 9 23:57:23 2010 (r216343)
@@ -30,7 +30,8 @@
#include <sys/cdefs.h>
#if 0
#ifndef lint
-__RCSID("$NetBSD: stat.c,v 1.30 2010/11/25 04:33:30 dholland Exp $");
+__RCSID("$NetBSD: stat.c,v 1.30 2010/11/25 04:33:30 dholland Exp $"
+"$OpenBSD: stat.c,v 1.14 2009/06/24 09:44:25 sobrado Exp $");
#endif
#endif
@@ -226,7 +227,8 @@ main(int argc, char *argv[])
quiet = 1;
} else {
options = "f:FlLnqrst:x";
- synopsis = "[-FlLnqrsx] [-f format] [-t timefmt] [file ...]";
+ synopsis = "[-FLnq] [-f format | -l | -r | -s | -x] "
+ "[-t timefmt] [file ...]";
}
while ((ch = getopt(argc, argv, options)) != -1)
More information about the svn-src-all
mailing list