Skip to content

Commit b44bfb8

Browse files
committed
Add conflicts annotation to the deprecated --force-local-build flag too
1 parent 653920c commit b44bfb8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/cli-v3/src/commands/deploy.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,12 @@ export function configureDeployCommand(program: Command) {
197197
)
198198
// Local build options
199199
.addOption(
200-
new CommandOption("--force-local-build", "Deprecated alias for --local-build").implies({
201-
localBuild: true,
202-
})
200+
new CommandOption("--force-local-build", "Deprecated alias for --local-build")
201+
.implies({
202+
localBuild: true,
203+
})
204+
.conflicts("nativeBuildServer")
205+
.hideHelp()
203206
)
204207
.addOption(
205208
new CommandOption("--local-build", "Build the deployment image locally").conflicts(

0 commit comments

Comments
 (0)