summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-03-26 17:48:40 +0000
committerobrien <obrien@FreeBSD.org>1997-03-26 17:48:40 +0000
commit4c9cebcc5129530d80fc87d2a837917d05f6e18a (patch)
treec815fc5836a0a850cbcd786a35c7f6b351813bb0 /bin
parent3e779d8c7bca14b4b7e37105dc95c3eec41a2d73 (diff)
downloadFreeBSD-src-4c9cebcc5129530d80fc87d2a837917d05f6e18a.zip
FreeBSD-src-4c9cebcc5129530d80fc87d2a837917d05f6e18a.tar.gz
make usage() and SYNOPSIS agree with each other and add missing options
documented in the DESCRIPTION section.
Diffstat (limited to 'bin')
-rw-r--r--bin/ls/ls.14
-rw-r--r--bin/ls/util.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index 56bc454..c3c3b86 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ls.1 8.7 (Berkeley) 7/29/94
-.\" $Id: ls.1,v 1.11 1997/02/25 00:26:53 mpp Exp $
+.\" $Id: ls.1,v 1.12 1997/03/07 01:58:56 mpp Exp $
.\"
.Dd July 29, 1994
.Dt LS 1
@@ -43,7 +43,7 @@
.Nd list directory contents
.Sh SYNOPSIS
.Nm ls
-.Op Fl ACFLRTWacdfgiloqrstu1
+.Op Fl ACFLRTWacdfgikloqrstu1
.Op Ar file ...
.Sh DESCRIPTION
For each operand that names a
diff --git a/bin/ls/util.c b/bin/ls/util.c
index b4794bc..ac4e3de 100644
--- a/bin/ls/util.c
+++ b/bin/ls/util.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: util.c,v 1.8 1997/02/22 14:04:03 peter Exp $
*/
#ifndef lint
@@ -71,7 +71,7 @@ usage()
#ifdef BSD4_4_LITE
(void)fprintf(stderr, "usage: ls [-1ACFLRTacdfiklqrstu] [file ...]\n");
#else
- (void)fprintf(stderr, "usage: ls [-1ACFLRTWacdfiklqrstu] [file ...]\n");
+ (void)fprintf(stderr, "usage: ls [-ACFLRTWacdfgikloqrstu1] [file ...]\n");
#endif
exit(1);
}
OpenPOWER on IntegriCloud