Created
August 28, 2012 04:17
-
-
Save bnagy/3494934 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment