diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-12-09 23:57:23 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-12-09 23:57:23 +0000 |
commit | de28c1d69979cc2beaf0f93fcde34c1f44dd0581 (patch) | |
tree | b65d2d7c67bb145d439b558271bac55f7a4fd989 /usr.bin | |
parent | 4befa84f9cc7380cca7cf0bf45b52ef68c05fe99 (diff) | |
download | src-de28c1d69979cc2beaf0f93fcde34c1f44dd0581.tar.gz src-de28c1d69979cc2beaf0f93fcde34c1f44dd0581.zip |
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@OpenBSD.org
Notes
Notes:
svn path=/head/; revision=216343
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/stat/stat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/stat/stat.c b/usr.bin/stat/stat.c index 950c76abb95c..f661f30d3bdd 100644 --- a/usr.bin/stat/stat.c +++ b/usr.bin/stat/stat.c @@ -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) |