Skip to content

Commit 64b4179

Browse files
authored
Instructions for customizing the output path are incorrect (#484)
Instructions for customizing the output path are incorrect ### Motivation: `displayHelpMessage` was incorrect - it claimed that the output path was customizable via a `--output-directory` flag, but the code actually looks for `--output-path` ### Modifications: Changing the help message here, instead of the code, in case existing projects already depend on `--output-path` ### Result: `displayHelpMessage` will show the correct instructions
1 parent 230eeb5 commit 64b4179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugins/AWSLambdaPackager/Plugin.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ struct AWSLambdaPackager: CommandPlugin {
307307
308308
USAGE: swift package --allow-network-connections docker archive
309309
[--help] [--verbose]
310-
[--output-directory <path>]
310+
[--output-path <path>]
311311
[--products <list of products>]
312312
[--configuration debug | release]
313313
[--swift-version <version>]
@@ -317,7 +317,7 @@ struct AWSLambdaPackager: CommandPlugin {
317317
318318
OPTIONS:
319319
--verbose Produce verbose output for debugging.
320-
--output-directory <path> The path of the binary package.
320+
--output-path <path> The path of the binary package.
321321
(default is `.build/plugins/AWSLambdaPackager/outputs/...`)
322322
--products <list> The list of executable targets to build.
323323
(default is taken from Package.swift)

0 commit comments

Comments
 (0)