From db547a894b9dbe27f484c7007b040f5aafd524ab Mon Sep 17 00:00:00 2001 From: mattcorey Date: Mon, 24 Feb 2025 11:07:36 -0500 Subject: [PATCH] in displayHelpMessage, `--output-directory` -> `--output-path` `displayHelpMessage` was incorrect - it claimed that the output path was customizable via a `--output-directory` flag, but the code actually looks for `--output-path` Changing the help message here, instead of the code, in case existing projects already depend on `--output-path` --- Plugins/AWSLambdaPackager/Plugin.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/AWSLambdaPackager/Plugin.swift b/Plugins/AWSLambdaPackager/Plugin.swift index f6ac2b03..01e47b3d 100644 --- a/Plugins/AWSLambdaPackager/Plugin.swift +++ b/Plugins/AWSLambdaPackager/Plugin.swift @@ -307,7 +307,7 @@ struct AWSLambdaPackager: CommandPlugin { USAGE: swift package --allow-network-connections docker archive [--help] [--verbose] - [--output-directory ] + [--output-path ] [--products ] [--configuration debug | release] [--swift-version ] @@ -317,7 +317,7 @@ struct AWSLambdaPackager: CommandPlugin { OPTIONS: --verbose Produce verbose output for debugging. - --output-directory The path of the binary package. + --output-path The path of the binary package. (default is `.build/plugins/AWSLambdaPackager/outputs/...`) --products The list of executable targets to build. (default is taken from Package.swift)