[Command Line] Command line switch (--boring) to turn off colorized output.
This commit is contained in:
parent
38ff0b7929
commit
d15298afa8
@ -27,6 +27,10 @@ module Compass::Exec::GlobalOptionsParser
|
||||
self.options[:dry_run] = true
|
||||
end
|
||||
|
||||
opts.on('--boring', :NONE, 'Turn off colorized output.') do
|
||||
self.options[:color_output] = false
|
||||
end
|
||||
|
||||
opts.on_tail("-?", "-h", "--help", "Show this message") do
|
||||
puts opts
|
||||
exit
|
||||
|
@ -154,6 +154,10 @@ END
|
||||
self.options[:command] = :print_version
|
||||
end
|
||||
|
||||
opts.on('--boring', :NONE, 'Turn off colorized output.') do
|
||||
self.options[:color_output] = false
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def do_command(command)
|
||||
|
Loading…
Reference in New Issue
Block a user