bin/kramdown in kramdown-1.6.0 vs bin/kramdown in kramdown-1.7.0
- old
+ new
@@ -35,10 +35,10 @@
opts.separator ""
opts.separator "kramdown options:"
opts.separator ""
- Kramdown::Options.definitions.each do |n, definition|
+ Kramdown::Options.definitions.sort.each do |n, definition|
no = n.to_s.tr('_', '-')
if definition.type == Kramdown::Options::Boolean
opts.on("--[no-]#{no}") {|v| options[n] = Kramdown::Options.parse(n, v)}
else
type = definition.type