pretty up the list output

This commit is contained in:
Vincent Batts 2012-11-15 16:56:03 -05:00
parent 0e93acb328
commit 7fde3f4384

View file

@ -181,12 +181,12 @@ def main(args)
if options[:certificate]
data = value_from_oid(options[:certificate], '1.3.6.1.4.1.2312.9.7')
pt = Trie::PathTree.new(data.getOctets)
_puts(options, pt.toList())
_puts(options, pt.toList().join("\n"))
return
end
if options[:binary_file]
pt = Trie::PathTree.new(File.read(options[:binary_file]).to_java_bytes)
_puts(options, pt.toList())
_puts(options, pt.toList().join("\n"))
return
end
if options[:payload]