tool/lib/output.rb: Add --no-color
option
This commit is contained in:
parent
e89150b1d4
commit
f1c6da65f4
@ -14,7 +14,7 @@ class Output
|
|||||||
opt.on('-o', '--output=PATH') {|v| @path = v}
|
opt.on('-o', '--output=PATH') {|v| @path = v}
|
||||||
opt.on('-t', '--timestamp[=PATH]') {|v| @timestamp = v || true}
|
opt.on('-t', '--timestamp[=PATH]') {|v| @timestamp = v || true}
|
||||||
opt.on('-c', '--[no-]if-change') {|v| @ifchange = v}
|
opt.on('-c', '--[no-]if-change') {|v| @ifchange = v}
|
||||||
opt.on('--color') {@color = true}
|
opt.on('--[no-]color') {|v| @color = v}
|
||||||
@vpath.def_options(opt)
|
@vpath.def_options(opt)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user