- Add -D to usage().

- Bump document date for the addition of the -D option.
- Reformat a sentence to look like a real sentence.
This commit is contained in:
Ruslan Ermilov 2008-04-04 05:55:42 +00:00
parent 2269fa5765
commit 5ffbd51eb0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177908
2 changed files with 5 additions and 4 deletions

View File

@ -32,7 +32,7 @@
.\" @(#)ls.1 8.7 (Berkeley) 7/29/94
.\" $FreeBSD$
.\"
.Dd October 12, 2006
.Dd April 4, 2008
.Dt LS 1
.Os
.Sh NAME
@ -95,8 +95,9 @@ When printing in the long
format, use
.Ar format
to format the date and time output.
The argument
.Ar format
is a format string used by
is a string used by
.Xr strftime 3 .
Depending on the choice of format string, this may result in a
different number of columns in the output.

View File

@ -222,9 +222,9 @@ usage(void)
{
(void)fprintf(stderr,
#ifdef COLORLS
"usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1]"
"usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [-D format]"
#else
"usage: ls [-ABCFHILPRSTUWZabcdfghiklmnopqrstuwx1]"
"usage: ls [-ABCFHILPRSTUWZabcdfghiklmnopqrstuwx1] [-D format]"
#endif
" [file ...]\n");
exit(1);