Edit --report flag description

This commit is contained in:
bl7awy 2022-03-18 22:59:27 +03:00
parent f43c9b9e7e
commit 29f2162a77

View file

@ -143,7 +143,7 @@ module ColorLS
options.on('-f', '--files', 'show only files') { @opts[:show] = :files }
options.on('--gs', '--git-status', 'show git status for each file') { @opts[:git_status] = true }
options.on('-p', 'append / indicator to directories') { @opts[:indicator_style] = 'slash' }
options.on('--report=[WORD]', %w[short long], 'show report') do |word|
options.on('--report=[WORD]', %w[short long], 'show report: short, long (default if omitted)') do |word|
word ||= :long
@report_mode = word.to_sym
end