Skip to content

Commit

Permalink
Make ,? actually work.
Browse files Browse the repository at this point in the history
  • Loading branch information
rking authored and rking@sharpsaw.org committed Nov 8, 2012
1 parent b300718 commit 0c25785
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/pry-docmore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ class Docmore
end

Pry.commands.command ',?', 'Doc more — see global/keyword info' do
_pry_.output.puts "Note: The ,? command will be the plain ? command.\n" +
Pry::Docmore.explain(arg_string)
end

def self.find_docs pattern
input = Dir['pry-docmore.wiki/*.md'].map do |file_name|
if file_name.match pattern
Expand Down

0 comments on commit 0c25785

Please sign in to comment.