diff options
author | Wender Freese <wender.jean@gmail.com> | 2021-03-27 07:46:53 -0300 |
---|---|---|
committer | Wender Freese <wender.jean@gmail.com> | 2021-03-27 07:46:56 -0300 |
commit | 11d3d17e08f5a712058d61185cb2fc9d5165ab6e (patch) | |
tree | 171bf9f939f6c7a61f501c66772bf3b466165cf7 /lib | |
parent | cee7b4d5b43c682cc37fb2cb52c4bf4168551fdd (diff) | |
download | pry-11d3d17e08f5a712058d61185cb2fc9d5165ab6e.tar.gz |
Deprecate the option "--plugins" on CLI considering PluginManager does not exist anymore
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pry/cli.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/pry/cli.rb b/lib/pry/cli.rb index 8d56794d..0e29f7f0 100644 --- a/lib/pry/cli.rb +++ b/lib/pry/cli.rb @@ -163,11 +163,8 @@ Pry::CLI.add_options do end on "plugins", "List installed plugins." do - puts "Installed Plugins:" - puts "--" - Pry.locate_plugins.each do |plugin| - puts plugin.name.to_s.ljust(18) << plugin.spec.summary - end + warn "The --plugins option is deprecated and has no effect" + warn "Try using `gem list pry-`" Kernel.exit end |