mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
rename on_options -> extra_options
This commit is contained in:
parent
1f809c68c8
commit
108e732274
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue