lib/redis-stat/option.rb in redis-stat-0.2.5 vs lib/redis-stat/option.rb in redis-stat-0.2.6

- old
+ new

@@ -32,9 +32,13 @@ opts.on('--style=STYLE', 'Output style: unicode|ascii') do |v| options[:style] = v.downcase.to_sym end + opts.on('--no-color', 'Suppress ANSI color codes') do |v| + options[:mono] = true + end + opts.on('--version', 'Show version') do puts RedisStat::VERSION exit 0 end