Merge branch 'master' of github.com:athityakumar/colorls

This commit is contained in:
Athitya 2017-10-21 02:27:36 +05:30
commit 41415b6b13

View file

@ -28,11 +28,11 @@ module ColorLS
return unless @mode == :tree
# FIXME: `--all` and `--tree` do not work together, use `--almost-all` instead
@opts[:almost_all] = true if @opts[:all]
@opts[:all] = false
@opts[:almost_all] = true
# `--tree` does not support reports
@opts[:report] = false if @mode == :tree
@opts[:report] = false
end
def process
@ -91,6 +91,11 @@ module ColorLS
#{'colorls | grep PATTERN'.colorize(:green)}
* several short options can be combined:
#{'colorls -d -l -a'.colorize(:green)}
#{'colorls -dla'.colorize(:green)}
EXAMPLES
end