diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index ee1320409c62..4eac583a015b 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -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. diff --git a/bin/ls/util.c b/bin/ls/util.c index 62fa75adf807..ecb1732b851e 100644 --- a/bin/ls/util.c +++ b/bin/ls/util.c @@ -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);