Skip to content

Commit

Permalink
Update ? alias to use show-source
Browse files Browse the repository at this point in the history
`show-doc` is deprecated in favor of `show-source -d`. Updating the `?` alias accordingly.
  • Loading branch information
tbrisker committed May 3, 2020
1 parent 9d9ae4a commit a773ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pry/commands/show_doc.rb
Expand Up @@ -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

0 comments on commit a773ffc

Please sign in to comment.