bin/reap-doc-ri in reap-9.3.5 vs bin/reap-doc-ri in reap-9.4.0
- old
+ new
@@ -1,7 +1,21 @@
#!/usr/bin/env ruby
require 'reap/application'
-app = Reap::Application.new
+HELP = <<-END
+Usage: #{File.basename($0)} [options]
-app.ridoc
+Gerneates local ri api documentation. The generated files
+are stored in the conventional location doc/ri.
+
+These are useful to checking ri docs look good. Try it with
+a tool such as webri or rbbr.
+END
+
+if ARGV.include?('--help')
+ puts HELP
+else
+ app = Reap::Application.new
+ app.ridoc
+end
+