docs: use consistent naming [ci skip]

This commit is contained in:
decentral1se 2021-11-06 22:38:29 +01:00
parent 63d9703d9d
commit a539033b55
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 4 additions and 4 deletions

View File

@ -65,9 +65,9 @@ var TagMessageFlag = &cli.StringFlag{
var recipeReleaseCommand = &cli.Command{ var recipeReleaseCommand = &cli.Command{
Name: "release", Name: "release",
Usage: "tag a recipe", Usage: "Release a new recipe version",
Aliases: []string{"rl"}, Aliases: []string{"rl"},
ArgsUsage: "<recipe> [<tag>]", ArgsUsage: "<recipe> [<version>]",
Description: ` Description: `
This command is used to specify a new tag for a recipe. These tags are used to This command is used to specify a new tag for a recipe. These tags are used to
identify different versions of the recipe and are published on the Co-op Cloud identify different versions of the recipe and are published on the Co-op Cloud
@ -131,7 +131,7 @@ You may invoke this command in "wizard" mode and be prompted for input:
} }
if (!Major && !Minor && !Patch) && tagString != "" { if (!Major && !Minor && !Patch) && tagString != "" {
logrus.Fatal("please specify <tag> or bump type (--major/--minor/--patch)") logrus.Fatal("please specify <version> or bump type (--major/--minor/--patch)")
} }
if (Major || Minor || Patch) && tagString != "" { if (Major || Minor || Patch) && tagString != "" {

View File

@ -15,7 +15,7 @@ var recipeSyncCommand = &cli.Command{
Name: "sync", Name: "sync",
Usage: "Ensure recipe version labels are up-to-date", Usage: "Ensure recipe version labels are up-to-date",
Aliases: []string{"s"}, Aliases: []string{"s"},
ArgsUsage: "<recipe> <version>", ArgsUsage: "<recipe> [<version>]",
Description: ` Description: `
This command will generate labels for the main recipe service (i.e. by This command will generate labels for the main recipe service (i.e. by
convention, typically the service named "app") which corresponds to the convention, typically the service named "app") which corresponds to the