summaryrefslogtreecommitdiffstats
path: root/lib/rdoc
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-08-25 19:41:31 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-08-25 19:41:31 +0000
commit9a17e1d7f87de24352f66de4196bc2d4d0578552 (patch)
tree030c98c7cc44c26ed7afc697dc969b9491074ee3 /lib/rdoc
parent36ecf0be11eacb2efbdd859095881a38582be80f (diff)
downloadruby-9a17e1d7f87de24352f66de4196bc2d4d0578552.tar.gz
ruby-9a17e1d7f87de24352f66de4196bc2d4d0578552.tar.xz
ruby-9a17e1d7f87de24352f66de4196bc2d4d0578552.zip
Minor fix to error message
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-rw-r--r--lib/rdoc/usage.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rdoc/usage.rb b/lib/rdoc/usage.rb
index 73821dfae..da6593d89 100644
--- a/lib/rdoc/usage.rb
+++ b/lib/rdoc/usage.rb
@@ -1,7 +1,7 @@
# = Synopsis
#
# This library allows command-line tools to encapsulate their usage
-# as a comment at the top of the main file. Calling <tt>RDoc::show_usage</tt>
+# as a comment at the top of the main file. Calling <tt>RDoc::usage</tt>
# then displays some or all of that comment, and optionally exits
# the program with an exit status. We always look for the comment
# in the main program file, so it is safe to call this method
@@ -190,7 +190,6 @@ module RDoc
#####
# Report the fact that no doc comment count be found
def RDoc.no_comment
-fail "xxx"
$stderr.puts "No usage information available for this program"
nil
end