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

View File

@ -1,9 +1,9 @@
#Mon, 19 Dec 2011 16:24:43 -0600
#Mon, 13 Feb 2012 10:46:15 -0600
build.dir=build
src.dir=src
build.jar=pit-cli-${application.version}.${build.number}.jar
build.number=2
version=3.3.1
build.number=5
version=3.3.2
name=pit-cli
lib.dir=lib
lib.local=true