bin/shaddox in shaddox-0.1.0 vs bin/shaddox in shaddox-0.1.1
- old
+ new
@@ -10,12 +10,12 @@
OptionParser.new do |opts|
opts.banner = "Usage: shaddox [task] [options]"
- opts.on('-v', '--verboase', "Run verbosely") do
- options[:verbose] = true
+ opts.on('-s', '--silent', "Be less verbose") do
+ options[:verbose] = false
end
opts.on('--doxfile', "Specify doxfile") do |f|
@doxfile = f
end
@@ -27,7 +27,7 @@
end.parse!
task = ARGV[0] || :default
-config = Shaddox::Config.new(@doxfile)
-config.invoke(task, options)
+config = Shaddox::Config.new(@doxfile, options)
+config.invoke(task)