Fixed PIT CLI output when setting extended properties.
This commit is contained in:
parent
ae0d782a5b
commit
31b9802477
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user