adjust wording of the help texts

This commit is contained in:
Robert Kaussow 2022-05-29 22:29:36 +02:00
parent 5207ccc664
commit 9e053ce454
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ properties:
required: false required: false
path-style: path-style:
description: Use path style for bucket paths. description: Enable path style for bucket paths.
type: bool type: bool
required: false required: false
@ -38,7 +38,7 @@ properties:
required: false required: false
target: target:
description: Target path. description: Upload target path.
defaultValue: / defaultValue: /
type: string type: string
required: false required: false

View File

@ -33,7 +33,7 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
}, },
&cli.BoolFlag{ &cli.BoolFlag{
Name: "path-style", Name: "path-style",
Usage: "use path style for bucket paths", Usage: "enable path style for bucket paths",
EnvVars: []string{"PLUGIN_PATH_STYLE"}, EnvVars: []string{"PLUGIN_PATH_STYLE"},
Destination: &settings.PathStyle, Destination: &settings.PathStyle,
Category: category, Category: category,
@ -64,7 +64,7 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
}, },
&cli.StringFlag{ &cli.StringFlag{
Name: "target", Name: "target",
Usage: "target path", Usage: "upload target path",
Value: "/", Value: "/",
EnvVars: []string{"PLUGIN_TARGET"}, EnvVars: []string{"PLUGIN_TARGET"},
Destination: &settings.Target, Destination: &settings.Target,