Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
Fix optionparser setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ttscoff committed Oct 28, 2013
1 parent 9b07d7a commit f04926c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slogger.rb
Expand Up @@ -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
Expand Down

0 comments on commit f04926c

Please sign in to comment.