summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-12-09 23:57:23 +0000
committerdougb <dougb@FreeBSD.org>2010-12-09 23:57:23 +0000
commit286133e3fc59155e91c710cbdd0fc0bf238a17e3 (patch)
treeb65d2d7c67bb145d439b558271bac55f7a4fd989 /usr.bin
parentbe6b3b47d54b38024ba4442dbb00d7dc8c7bf95e (diff)
downloadFreeBSD-src-286133e3fc59155e91c710cbdd0fc0bf238a17e3.zip
FreeBSD-src-286133e3fc59155e91c710cbdd0fc0bf238a17e3.tar.gz
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
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/stat/stat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/stat/stat.c b/usr.bin/stat/stat.c
index 950c76a..f661f30 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)
OpenPOWER on IntegriCloud