Bugfixes on pit-cli:

* Fixed a bug in the option parsing. When no options (or unknown options) where
  presented it was not properly defaulting.
* Fixed a bug when incorrect options where given. Apache Commons CLI fails
  entirely when it is unable to parse an option. This means we cannot get the
  `--dir` option and we default to the program's working directory. When running
  on Nailgun this is not the desired behavior and can cause pit to look through
  a very deep file heirarchy to find issues.
This commit is contained in:
Jonathan Bernard
2012-02-13 10:49:27 -06:00
parent 85753de955
commit c0b02ca222
9 changed files with 29 additions and 11 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.