rename on_options -> extra_options

This commit is contained in:
Ben Jolitz 2016-05-07 17:18:42 -07:00
parent 1f809c68c8
commit 108e732274
3 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ describe "Config" do
ARGV.push("FOOBAR")
$test_option = nil
config.on_options = ->(parser : OptionParser) {
config.extra_options = ->(parser : OptionParser) {
parser.on("--test TEST_OPTION", "Test an option") do |opt|
$test_option = opt
end