Skip to content

Commit

Permalink
Change patch-version help text to be more clear
Browse files Browse the repository at this point in the history
[#169603689](https://www.pivotaltracker.com/story/show/169603689)
 As a platform operator I can understand the purpose of the \patch-version" flag more clearly as a result of the help text"

Co-authored-by: Daniel Basner <dbasner@pivotal.io>
  • Loading branch information
Tal Usvyatsky and dbasner committed Dec 9, 2019
1 parent f6521f4 commit 631e722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commandparser/package_stemcell.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (p *PackageCmd) SetFlags(f *flag.FlagSet) {

f.StringVar(&p.outputConfig.OutputDir, "outputDir", "", "Output directory, default is the current working directory.")
f.StringVar(&p.outputConfig.OutputDir, "o", "", "Output directory (shorthand)")
f.StringVar(&patchVersion, "patch-version", "", "String appended at end of stemcell version as a patch version. (Optional)")
f.StringVar(&patchVersion, "patch-version", "", "Number or name of the patch version for the stemcell being built (e.g: for 2019.12.3 the string would be \"3\")")
}

func (p *PackageCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus {
Expand Down

0 comments on commit 631e722

Please sign in to comment.