diff options
author | ache <ache@FreeBSD.org> | 2000-06-06 07:29:43 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-06-06 07:29:43 +0000 |
commit | 9b69330acf78e02491988b88bd6b83178e8f1b0e (patch) | |
tree | 2144ed444af99625c7a6aed36d654d1cb6fa4611 | |
parent | 5659bb748429ddec1ff8ef3cfd911bb4c1074f39 (diff) | |
download | FreeBSD-src-9b69330acf78e02491988b88bd6b83178e8f1b0e.zip FreeBSD-src-9b69330acf78e02491988b88bd6b83178e8f1b0e.tar.gz |
Add -G to usage: if COLORLS
-rw-r--r-- | bin/ls/util.c | 7 |
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); } |