diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2021-04-11 12:38:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 12:38:41 +0300 |
commit | 29314c3888b401185939df7ee7eab246555b90d1 (patch) | |
tree | 08ff0a743dffefe74db37a707d3fc62a911c0818 /lib | |
parent | 732a93074ad7a53cc7edd4eebb037acf8a9ef9d2 (diff) | |
parent | 11d3d17e08f5a712058d61185cb2fc9d5165ab6e (diff) | |
download | pry-29314c3888b401185939df7ee7eab246555b90d1.tar.gz |
Merge pull request #2180 from wenderjean/fix/deprecate-plugins-cli-option
Deprecate the option "--plugins" on CLI
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 |