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,11 +1,11 @@
#Mon, 19 Dec 2011 16:21:52 -0600
#Mon, 13 Feb 2012 10:13:41 -0600
#Sat Apr 24 17:08:00 CDT 2010
build.dir=build
src.dir=src
lib.shared.dir=../shared-libs
test.dir=test
build.number=1
version=3.3.1
version=3.3.2
name=libpit
lib.dir=lib
lib.local=true