Add -G to usage: if COLORLS

This commit is contained in:
Andrey A. Chernov 2000-06-06 07:29:43 +00:00
parent 1bf1478a9f
commit a04eaf5b2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61324

View File

@ -158,7 +158,12 @@ prn_octal(s)
void
usage()
{
(void)fprintf(stderr, "usage: ls [-ACFHLPRTWacdfgiklnoqrstu1]"
(void)fprintf(stderr,
#ifdef COLORLS
"usage: ls [-ACFGHLPRTWacdfgiklnoqrstu1]"
#else
"usage: ls [-ACFHLPRTWacdfgiklnoqrstu1]"
#endif
" [file ...]\n");
exit(1);
}