#! /usr/bin/ruby require 'pathname' require 'optparse' $options = {} oparser = OptionParser.new oparser.banner = < e puts e.message puts e.backtrace end