Skip to content

Commit

Permalink
Update help text
Browse files Browse the repository at this point in the history
  • Loading branch information
buty4649 committed Jan 5, 2024
1 parent 129bf81 commit 803cd00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mrblib/rf/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def global_options # rubocop:disable Metrics/AbcSize
end
opt.on('-n', '--quiet', 'suppress automatic printing') { @config.quiet = true }
opt.on('-s', '--slurp', 'read all reacords into an array') { @config.slurp = true }
opt.on('--[no-]color', '[no] colorized output (default: --color)') do |v|
opt.on('--[no-]color', '[no] colorized output (default: --color in TTY)') do |v|
@config.color = v
end
opt.on('--help', 'show this message') { print_help_and_exit }
Expand Down
2 changes: 1 addition & 1 deletion spec/global_options/help_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
text options:
-F, --filed-separator VAL set the field separator (allow regexp)
--[no-]color [no] colorized output (default: --color)
--[no-]color [no] colorized output (default: --color in TTY)
json options:
-r, --raw-string output raw strings
Expand Down

0 comments on commit 803cd00

Please sign in to comment.