lib/masticate/myoptparse.rb in masticate-0.2.3 vs lib/masticate/myoptparse.rb in masticate-0.3

- old
+ new

@@ -89,11 +89,12 @@ 'gsub' => Masticate::Gsubber, 'datify' => Masticate::Datify, 'maxrows' => Masticate::MaxRows, 'relabel' => Masticate::Relabel, 'pluck' => Masticate::Plucker, - 'exclude' => Masticate::Exclude + 'exclude' => Masticate::Exclude, + 'mend' => Masticate::Mender } klass = klasses[command] klass.new(options) end @@ -163,9 +164,10 @@ def logmessage(command, options, results) $stderr.puts <<-EOT * masticate #{command} (#{options.keys.join(', ')}) Lines in input: #{results[:input_count]} Lines in output: #{results[:output_count]} + Headers: #{results[:headers].inspect} EOT if results[:field_counts] $stderr.puts " Field counts: #{results[:field_counts].inspect}" end end