From a773ffcd7187c8857e1036ed2358d30fb6cd0a94 Mon Sep 17 00:00:00 2001 From: Tomer Brisker Date: Sun, 3 May 2020 13:53:11 +0300 Subject: [PATCH] Update `?` alias to use show-source `show-doc` is deprecated in favor of `show-source -d`. Updating the `?` alias accordingly. --- lib/pry/commands/show_doc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/commands/show_doc.rb b/lib/pry/commands/show_doc.rb index c0f183b22..0434e748a 100644 --- a/lib/pry/commands/show_doc.rb +++ b/lib/pry/commands/show_doc.rb @@ -89,6 +89,6 @@ def start_line_for(code_object) end Pry::Commands.add_command(Pry::Command::ShowDoc) - Pry::Commands.alias_command '?', 'show-doc' + Pry::Commands.alias_command '?', 'show-source -d' end end