Revert "adding trollop.rb, but still not supported"
[zip-doc.git] / display-page.rb
blobc39020bd4921042771e835e64de9a8c49206cb6c
1 #!/usr/bin/ruby
2 # Part of the zip-doc suite
3 # By Stian Haklev (shaklev@gmail.com), 2007
4 # Released under MIT and GPL licenses
6 # get a page displayed, used in debugging
7 require 'zarchive'
8 archive = ZArchive::Reader.new(ARGV[0])
9 p archive.get(ARGV[1])