Permalink
Browse files

Use less as default help pager

Closes #859
  • Loading branch information...
ai authored and indirect committed Nov 18, 2010
1 parent 2bbc732 commit 64be9d62ae342e4929735fe1e0ce095f378da964
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/cli.rb
View
@@ -45,7 +45,7 @@ def help(cli = nil)
if have_groff? && root !~ %r{^file:/.+!/META-INF/jruby.home/.+}
groff = "groff -Wall -mtty-char -mandoc -Tascii"
- pager = ENV['MANPAGER'] || ENV['PAGER'] || 'more'
+ pager = ENV['MANPAGER'] || ENV['PAGER'] || 'less'
Kernel.exec "#{groff} #{root}/#{command} | #{pager}"
else

0 comments on commit 64be9d6

Please sign in to comment.