summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ls/util.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c
index eea2475..7239d97 100644
--- a/bin/ls/util.c
+++ b/bin/ls/util.c
@@ -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);
}
OpenPOWER on IntegriCloud