Skip to content

Commit a87fbe5

Browse files
authored
Fix wrong flag suggestion in manifest help (#432)
1 parent 6ffa2bc commit a87fbe5

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

src/commands/manifest/cmd-manifest-gradle.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('socket manifest gradle', async () => {
2121
"[beta] Use Gradle to generate a manifest file (\`pom.xml\`) for a Gradle/Java/Kotlin/etc project
2222
2323
Usage
24-
$ socket manifest gradle [--gradle=path/to/gradle/binary] [--out=path/to/result] DIR
24+
$ socket manifest gradle [--bin=path/to/gradle/binary] [--out=path/to/result] DIR
2525
2626
Options
2727
--bin Location of gradlew binary to use, default: CWD/gradlew
@@ -57,7 +57,7 @@ describe('socket manifest gradle', async () => {
5757
Examples
5858
5959
$ socket manifest gradle .
60-
$ socket manifest gradle --gradlew=../gradlew ."
60+
$ socket manifest gradle --bin=../gradlew ."
6161
`
6262
)
6363
expect(`\n ${stderr}`).toMatchInlineSnapshot(`

src/commands/manifest/cmd-manifest-gradle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const config: CliCommandConfig = {
5656
},
5757
help: (command, config) => `
5858
Usage
59-
$ ${command} [--gradle=path/to/gradle/binary] [--out=path/to/result] DIR
59+
$ ${command} [--bin=path/to/gradle/binary] [--out=path/to/result] DIR
6060
6161
Options
6262
${getFlagListOutput(config.flags, 6)}
@@ -84,7 +84,7 @@ const config: CliCommandConfig = {
8484
Examples
8585
8686
$ ${command} .
87-
$ ${command} --gradlew=../gradlew .
87+
$ ${command} --bin=../gradlew .
8888
`
8989
}
9090

src/commands/manifest/cmd-manifest-kotlin.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('socket manifest kotlin', async () => {
2121
"[beta] Use Gradle to generate a manifest file (\`pom.xml\`) for a Kotlin project
2222
2323
Usage
24-
$ socket manifest kotlin [--gradle=path/to/gradle/binary] [--out=path/to/result] DIR
24+
$ socket manifest kotlin [--bin=path/to/gradle/binary] [--out=path/to/result] DIR
2525
2626
Options
2727
--bin Location of gradlew binary to use, default: CWD/gradlew
@@ -57,7 +57,7 @@ describe('socket manifest kotlin', async () => {
5757
Examples
5858
5959
$ socket manifest kotlin .
60-
$ socket manifest kotlin --gradlew=../gradlew ."
60+
$ socket manifest kotlin --bin=../gradlew ."
6161
`
6262
)
6363
expect(`\n ${stderr}`).toMatchInlineSnapshot(`

src/commands/manifest/cmd-manifest-kotlin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const config: CliCommandConfig = {
6161
},
6262
help: (command, config) => `
6363
Usage
64-
$ ${command} [--gradle=path/to/gradle/binary] [--out=path/to/result] DIR
64+
$ ${command} [--bin=path/to/gradle/binary] [--out=path/to/result] DIR
6565
6666
Options
6767
${getFlagListOutput(config.flags, 6)}
@@ -89,7 +89,7 @@ const config: CliCommandConfig = {
8989
Examples
9090
9191
$ ${command} .
92-
$ ${command} --gradlew=../gradlew .
92+
$ ${command} --bin=../gradlew .
9393
`
9494
}
9595

src/commands/manifest/cmd-manifest-scala.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('socket manifest scala', async () => {
2121
"[beta] Generate a manifest file (\`pom.xml\`) from Scala's \`build.sbt\` file
2222
2323
Usage
24-
$ socket manifest scala [--sbt=path/to/sbt/binary] [--out=path/to/result] FILE|DIR
24+
$ socket manifest scala [--bin=path/to/sbt/binary] [--out=path/to/result] FILE|DIR
2525
2626
Options
2727
--bin Location of sbt binary to use

src/commands/manifest/cmd-manifest-scala.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const config: CliCommandConfig = {
4949
},
5050
help: (command, config) => `
5151
Usage
52-
$ ${command} [--sbt=path/to/sbt/binary] [--out=path/to/result] FILE|DIR
52+
$ ${command} [--bin=path/to/sbt/binary] [--out=path/to/result] FILE|DIR
5353
5454
Options
5555
${getFlagListOutput(config.flags, 6)}

0 commit comments

Comments
 (0)