puppetlabs/puppet-acceptance — pull request #142 by justinstoller (2012-02-10 23:16:58+00:00)
Title: (#12565 & #12566) `--pre SCRIPT` and help usage

Prior to this you would only get the usage banner if you used `-h` or `--help` this makes the usage banner printed when no arguments are supplied as well. (Ticket #12565)

This commit adds the ability to pass a `--pre PATH/TO/SCRIPT` option. When passed the this flag will script that is given as an argument will be executed prior to any other setup tasks. This allows altering the state of the machine for one off tests or suites of edge cases that we do not want to code into the harness. (Ticket #12566)

Since these two tickets are relatively minor code changes, do not affect the DSL, and both primarily target lib/options_parsing.rb I combined them with approval.