lib/kicker/options.rb in kicker-2.4.0 vs lib/kicker/options.rb in kicker-2.5.0
- old
+ new
@@ -39,9 +39,14 @@
opt.banner = "Usage: #{$0} [options] [paths to watch]"
opt.separator " "
opt.separator " Available recipes: #{recipes_for_display.join(", ")}."
opt.separator " "
+ opt.on('-v', 'Print the Kicker version') do
+ puts VERSION
+ exit
+ end
+
opt.on('-s', '--silent', 'Keep output to a minimum.') do |silent|
Kicker.silent = true
end
opt.on('-q', '--quiet', "Quiet output. Don't print timestamps when logging.") do |quiet|