From 9e053ce4548e675a42f0dcc5c719ca3a4662bc20 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 29 May 2022 22:29:36 +0200 Subject: [PATCH] adjust wording of the help texts --- _docs/data/data.yaml | 4 ++-- cmd/drone-s3-sync/config.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_docs/data/data.yaml b/_docs/data/data.yaml index c3596bd..a4f52b2 100644 --- a/_docs/data/data.yaml +++ b/_docs/data/data.yaml @@ -16,7 +16,7 @@ properties: required: false path-style: - description: Use path style for bucket paths. + description: Enable path style for bucket paths. type: bool required: false @@ -38,7 +38,7 @@ properties: required: false target: - description: Target path. + description: Upload target path. defaultValue: / type: string required: false diff --git a/cmd/drone-s3-sync/config.go b/cmd/drone-s3-sync/config.go index 17b7dcf..0ee7c11 100644 --- a/cmd/drone-s3-sync/config.go +++ b/cmd/drone-s3-sync/config.go @@ -33,7 +33,7 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag { }, &cli.BoolFlag{ Name: "path-style", - Usage: "use path style for bucket paths", + Usage: "enable path style for bucket paths", EnvVars: []string{"PLUGIN_PATH_STYLE"}, Destination: &settings.PathStyle, Category: category, @@ -64,7 +64,7 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag { }, &cli.StringFlag{ Name: "target", - Usage: "target path", + Usage: "upload target path", Value: "/", EnvVars: []string{"PLUGIN_TARGET"}, Destination: &settings.Target,