From fb4e92de929d3a11b81fdd879a2292f5ad2f25f0 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 13 Aug 2004 17:52:52 +0000 Subject: Add "usage" interface git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ MANIFEST | 1 + lib/rdoc/markup/simple_markup/to_flow.rb | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 83ed15bd9..9686f3cf8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Aug 14 02:48:16 2004 Dave Thomas + + * lib/rdoc/usage.rb: Added. Allows command line programs + to report usage using their initial RDoc comment. + Fri Aug 13 13:23:17 2004 GOTOU Yuuzou * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_range_header): diff --git a/MANIFEST b/MANIFEST index 5273b4c25..594753004 100644 --- a/MANIFEST +++ b/MANIFEST @@ -273,6 +273,7 @@ lib/rdoc/ri/ri_util.rb lib/rdoc/ri/ri_writer.rb lib/rdoc/template.rb lib/rdoc/tokenstream.rb +lib/rdoc/usage.rb lib/readbytes.rb lib/resolv-replace.rb lib/resolv.rb diff --git a/lib/rdoc/markup/simple_markup/to_flow.rb b/lib/rdoc/markup/simple_markup/to_flow.rb index d5f6732d5..ce366d2df 100644 --- a/lib/rdoc/markup/simple_markup/to_flow.rb +++ b/lib/rdoc/markup/simple_markup/to_flow.rb @@ -1,6 +1,6 @@ require 'rdoc/markup/simple_markup/fragments' require 'rdoc/markup/simple_markup/inline' - +require 'CGI' module SM -- cgit