summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2011-03-07 12:09:36 +1100
committerJames Turnbull <james@lovedthanlost.net>2011-03-07 12:09:36 +1100
commit42463bf49bc754621c837fd79f5b621fb06d85a3 (patch)
treea77da6a743df94e8f03c86981a272bee1d45d423
parent49febe4fb55f35bff84dddc586e71fa0a74bc48b (diff)
parentf2e66b6f6828af18811294777408c88045ff93fd (diff)
downloadfacter-42463bf49bc754621c837fd79f5b621fb06d85a3.tar.gz
facter-42463bf49bc754621c837fd79f5b621fb06d85a3.tar.xz
facter-42463bf49bc754621c837fd79f5b621fb06d85a3.zip
Merge branch 'tickets/next/5031'
-rw-r--r--lib/facter/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/application.rb b/lib/facter/application.rb
index 9d6bc34..6b351b1 100644
--- a/lib/facter/application.rb
+++ b/lib/facter/application.rb
@@ -85,7 +85,7 @@ module Facter
begin
require 'rdoc/ri/ri_paths'
require 'rdoc/usage'
- puts RDoc.usage
+ RDoc.usage # print usage and exit
rescue LoadError
$stderr.puts "No help available unless your RDoc has RDoc.usage"
exit(1)