Skip to content

Commit

Permalink
Mark block arguments as unused
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Mar 22, 2020
1 parent 20d63ca commit 6901976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pry/cli.rb
Expand Up @@ -150,11 +150,11 @@ def start(opts)
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

Expand Down

0 comments on commit 6901976

Please sign in to comment.