Permalink
Browse files

Fix optionparser setting

  • Loading branch information...
1 parent 9b07d7a commit f04926c0ed526dc3451e78457c538dd6459722a4 @ttscoff committed Sep 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 slogger.rb
View
@@ -326,7 +326,7 @@ def template
$options[:develop] = true
end
$options[:onlyrun] = false
- opts.on( '-o','--onlyrun NAME[,NAME2...]','Only run plugins matching items in comma-delimited string') do |plugin_string|
+ opts.on( '-o','--onlyrun NAME','Only run plugins matching items in comma-delimited string') do |plugin_string|
$options[:onlyrun] = plugin_string.split(/,/).map {|frag| frag.strip }
end
$options[:timespan] = 1

0 comments on commit f04926c

Please sign in to comment.