Skip to content

Commit

Permalink
Edit --report flag description
Browse files Browse the repository at this point in the history
  • Loading branch information
bl7awy19 committed Mar 18, 2022
1 parent f43c9b9 commit 29f2162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/colorls/flags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def add_common_options(options)
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
Expand Down

0 comments on commit 29f2162

Please # to comment.