summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-08-13 17:52:52 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-08-13 17:52:52 +0000
commit5d0abf80ffc11e1010c413baf01a624cf8e8aa8c (patch)
tree1075c7a450c79e971f9e218332fc5c45794c7cc1
parent1ecae02404763276a0a40d66f398af95ed8cae33 (diff)
Add "usage" interface
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--MANIFEST1
-rw-r--r--lib/rdoc/markup/simple_markup/to_flow.rb2
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 83ed15bd99..9686f3cf86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Aug 14 02:48:16 2004 Dave Thomas <dave@pragprog.com>
+
+ * 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 <gotoyuzo@notwork.org>
* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_range_header):
diff --git a/MANIFEST b/MANIFEST
index 5273b4c253..5947530043 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 d5f6732d5c..ce366d2df7 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