mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
Merge branch 'master' of github.com:athityakumar/colorls
This commit is contained in:
commit
41415b6b13
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue