Added flag --without-icons

This commit is contained in:
karandeepmadaan 2022-10-25 14:48:45 -07:00 committed by GitHub
parent 97ae8e08a3
commit 2c524743a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,6 +175,7 @@ module ColorLS
end
options.on('-x', 'list entries by lines instead of by columns') { @opts[:mode] = :horizontal }
options.on('-C', 'list entries by columns instead of by lines') { @opts[:mode] = :vertical }
options.on('--without-icons', 'list entries without icons') { @opts[:icons] = false }
end
def default_long_style_options