Skip to content

Commit 2f95eab

Browse files
dependabot-preview[bot]ketan
authored andcommitted
Bump jcommander from 1.72 to 1.78
Bumps [jcommander](https://github.com/cbeust/jcommander) from 1.72 to 1.78. - [Release notes](https://github.com/cbeust/jcommander/releases) - [Changelog](https://github.com/cbeust/jcommander/blob/master/CHANGELOG.md) - [Commits](https://github.com/cbeust/jcommander/commits) Signed-off-by: dependabot-preview[bot] <[email protected]>
1 parent d5fae9f commit 2f95eab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
2828
compile group: 'commons-io', name: 'commons-io', version: '2.6'
2929
compile group: 'org.apache.ant', name: 'ant', version: '1.10.7'
30-
compile group: 'com.beust', name: 'jcommander', version: '1.72'
30+
compile group: 'com.beust', name: 'jcommander', version: '1.78'
3131

3232
compileOnly group: 'cd.go.plugin', name: 'go-plugin-api', version: project.pluginDesc.goCdVersion
3333
testCompile group: 'cd.go.plugin', name: 'go-plugin-api', version: project.pluginDesc.goCdVersion

src/com.tw.go.config.json/cli/JsonPluginCli.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ private static void die(int exitCode, String message, Object... items) {
100100
private static void printUsageAndExit(int exitCode, JCommander cmd, String command) {
101101
StringBuilder out = new StringBuilder();
102102
if (null == command) {
103-
cmd.usage(out);
103+
cmd.getUsageFormatter().usage(out);
104104
} else {
105-
cmd.usage(command, out);
105+
cmd.getUsageFormatter().usage(command, out);
106106
}
107107
die(exitCode, out.toString());
108108
}

0 commit comments

Comments
 (0)