Permalink
Browse files

Improve help messages for --allow_* options.

Signed-off-by: François de Metz <francois@2metz.fr>
  • Loading branch information...
1 parent 814b1fe commit d53a1b181ef115e1969e8880d6a6157c8ff48c0d @francois2metz francois2metz committed Apr 11, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/gollum-site
View
@@ -60,15 +60,15 @@ opts = OptionParser.new do |opts|
options['watch'] = true
end
- opts.on("--allow_elements ELMS", "Custom elements to prevent sanitization") do |elements|
+ opts.on("--allow_elements ELMS", "Custom elements to prevent sanitization (comma separated)") do |elements|
options['allow_elements'] = elements.split(',')
end
- opts.on("--allow_attributes ATTRS", "Custom attributes to prevent sanitization") do |attrs|
+ opts.on("--allow_attributes ATTRS", "Custom attributes to prevent sanitization (comma separated)") do |attrs|
options['allow_attributes'] = attrs.split(',')
end
- opts.on("--allow_protocols PROTOCOLS", "Custom protocols to prevent sanitization") do |protocols|
+ opts.on("--allow_protocols PROTOCOLS", "Custom protocols to prevent sanitization (comma separated)") do |protocols|
options['allow_protocols'] = protocols.split(',')
end

0 comments on commit d53a1b1

Please sign in to comment.