make usage() and SYNOPSIS agree with each other and add missing options

documented in the DESCRIPTION section.
This commit is contained in:
David E. O'Brien 1997-03-26 17:48:40 +00:00
parent 5fba67d120
commit 36f763ab3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24301
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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);
}