summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-06-24 09:44:26 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-06-24 09:44:26 +0000
commitf0c12908cc29344c55624d46d4cfc2c342235446 (patch)
tree2d72c191d8753d1f95ff435cd8cab8ba88553a9a /usr.bin
parent8a07ebc6542d709ab1a60153aedc0f03fc7763b3 (diff)
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@; ok jmc@, martynas@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/stat/stat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/stat/stat.c b/usr.bin/stat/stat.c
index 5f49faf0009..04ab8c4e600 100644
--- a/usr.bin/stat/stat.c
+++ b/usr.bin/stat/stat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stat.c,v 1.13 2008/06/26 05:42:21 ray Exp $ */
+/* $OpenBSD: stat.c,v 1.14 2009/06/24 09:44:25 sobrado Exp $ */
/* $NetBSD: stat.c,v 1.19 2004/06/20 22:20:16 jmc Exp $ */
/*
@@ -32,7 +32,7 @@
#ifndef lint
static const char rccs_id[] =
- "$OpenBSD: stat.c,v 1.13 2008/06/26 05:42:21 ray Exp $";
+ "$OpenBSD: stat.c,v 1.14 2009/06/24 09:44:25 sobrado Exp $";
#endif
#include <sys/types.h>
@@ -174,7 +174,8 @@ main(int argc, char *argv[])
timefmt = NULL;
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)
switch (ch) {