lib/masticate/myoptparse.rb in masticate-0.4.1 vs lib/masticate/myoptparse.rb in masticate-0.4.2
- old
+ new
@@ -76,9 +76,13 @@
end
opts.on("--rule {downcase,upcase}", String, "(*transform* only) Transformation rule") do |f|
@options[:rule] = f
end
+
+ opts.on("--buried FIELD", String, "(*mend* only) Remove embedded delimiters from named field") do |f|
+ @options[:buried] = f
+ end
end
end
def parse(argv = ARGV)
@command = argv.shift