Fixed PIT CLI output when setting extended properties.

This commit is contained in:
Jonathan Bernard 2011-12-08 15:36:11 -06:00
parent ae0d782a5b
commit 31b9802477
3 changed files with 7 additions and 6 deletions

View File

@ -4,8 +4,8 @@ build.dir=build
src.dir=src
lib.shared.dir=../shared-libs
test.dir=test
build.number=10
version=3.2.0
build.number=0
version=3.2.1
name=libpit
lib.dir=lib
lib.local=true

View File

@ -2,8 +2,8 @@
build.dir=build
src.dir=src
build.jar=pit-cli-${application.version}.${build.number}.jar
build.number=12
version=3.2.0
build.number=0
version=3.2.1
name=pit-cli
lib.dir=lib
lib.local=true

View File

@ -83,7 +83,7 @@ cli._(longOpt: 'version', 'Display PIT version information.')
// ======== Parse CLI Options ======== //
// =================================== //
def VERSION = "3.2.0"
def VERSION = "3.2.1"
def opts = cli.parse(args)
def issuedb = [:]
def workingDir = new File('.')
@ -434,6 +434,7 @@ else if (assignOpts.size() > 0) {
println issue
assignOpts.each { propName, value ->
issue[propName] = value
println " set ${propName} to ${value}" } }}
def formattedValue = ExtendedPropertyHelp.format(value)
println " set ${propName} to ${formattedValue}" } }}
else { cli.usage(); return -1 }}