Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OPTS=Trollop::options do
- opt :config, "Config filename", :type => :string
- opt :keep, "Don't overwrite existing trace results", :type=>:boolean
- opt :pi, "Calculate Pi (requires md5sum filenames)", :type=>:boolean
- opt :strict, "Only send files with the configured extension", :type=>:boolean
- opt :debug, "Enable debug output", :type=>:boolean
- end
- CONFIG=YAML.load_file( OPTS[:config] ) unless defined? CONFIG
Add Comment
Please, Sign In to add comment