From 221b98a8995fb4647c733dd533144f5284aa37fe Mon Sep 17 00:00:00 2001 From: Daniel Palacio Date: Mon, 16 Jan 2012 15:00:26 -0800 Subject: [PATCH] Add stylesheet option to the help message Help message lacked the -s, --stylesheet option. Also re-ordered the help message and added the -h for --help which was also mission. I also added more spacing so everything fits in the same line --- bin/rocco | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/rocco b/bin/rocco index ce40126..548b72a 100755 --- a/bin/rocco +++ b/bin/rocco @@ -3,13 +3,13 @@ #/ Generate literate-programming-style documentation for Ruby source s. #/ #/ Options: -#/ -l, --language= The Pygments lexer to use to highlight code -#/ -c, --comment-chars= -#/ The string to recognize as a comment marker -#/ -o, --output= Directory where generated HTML files are written -#/ -t, --template= The file to use as template when rendering HTML -#/ -d, --docblocks Parse Docblock @annotations in comments -#/ --help Show this help message +#/ -o, --output= Directory where generated HTML files are written +#/ -l, --language= The Pygments lexer to use to highlight code +#/ -c, --comment-chars= The string to recognize as a comment marker +#/ -t, --template= The file to use as template when rendering HTML +#/ -d, --docblocks Parse Docblock @annotations in comments +#/ -s, --stylesheet= The stylesheet to style the document +#/ -h, --help Show this help message require 'optparse' require 'fileutils'