lib/yard/cli/yardoc.rb in yard-0.2.3.4 vs lib/yard/cli/yardoc.rb in yard-0.2.3.5

- old
+ new

@@ -148,10 +148,10 @@ opts.on('--title TITLE', 'Add a specific title to HTML documents') do |title| options[:title] = title end - opts.on('-r', '--readme FILE', 'The readme file used as the title page of documentation.') do |readme| + opts.on('-r', '--readme FILE', '--main FILE', 'The readme file used as the title page of documentation.') do |readme| raise Errno::ENOENT, readme unless File.file?(readme) options[:readme] = readme end opts.on('--files FILE1,FILE2,...', 'Any extra comma separated static files to be included (eg. FAQ)') do |files|