#!/usr/bin/env ruby -KU require 'rdoc/rdoc' require File.dirname(__FILE__) + '/../lib/sdoc' # add extensions begin r = RDoc::RDoc.new r.document(ARGV) rescue RDoc::RDocError => e $stderr.puts e.message exit(1) end