1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Mark block arguments as unused

This commit is contained in:
Matijs van Zuijlen 2020-03-22 15:11:50 +01:00
parent 20d63ca783
commit 6901976387

View file

@ -150,11 +150,11 @@ Pry::CLI.add_options do
Pry.config.should_load_local_rc = false
end
on :s, "select-plugin=", "Only load specified plugin (and no others)." do |plugin_name|
on :s, "select-plugin=", "Only load specified plugin (and no others)." do |_plugin_name|
warn "The --select-plugin option is deprecated and has no effect"
end
on :d, "disable-plugin=", "Disable a specific plugin." do |plugin_name|
on :d, "disable-plugin=", "Disable a specific plugin." do |_plugin_name|
warn "The --disable-plugin option is deprecated and has no effect"
end