Skip to content

Commit

Permalink
fix: description of tags flags improved
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Jan 11, 2022
1 parent a231788 commit 2d01082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/scripts/update_script.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func NewUpdateScriptsCmd() *cobra.Command {
cmd.Flags().StringVarP(&uri, "uri", "", "", "if resource need to be loaded from URI")
cmd.Flags().StringVarP(&gitBranch, "git-branch", "", "", "if uri is git repository we can set additional branch parameter")
cmd.Flags().StringVarP(&gitPath, "git-path", "", "", "if repository is big we need to define additional path to directory/file to checkout partially")
cmd.Flags().StringSliceVar(&tags, "tags", nil, "--tags 1,2,3 Warning: by passing tags existing tags will be overwritten")
cmd.Flags().StringSliceVar(&tags, "tags", nil, "comma separated list of tags: --tags tag1,tag2,tag3 - Warning: by passing tags existing tags will be overwritten")

return cmd
}
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/tests/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func NewCreateTestsCmd() *cobra.Command {

cmd.Flags().StringVarP(&file, "file", "f", "", "JSON test file - will be read from stdin if not specified, look at testkube.TestUpsertRequest")
cmd.Flags().StringVar(&name, "name", "", "Set/Override test name")
cmd.Flags().StringSliceVar(&tags, "tags", nil, "--tags tag1,tag2,tag3")
cmd.Flags().StringSliceVar(&tags, "tags", nil, "comma separated list of tags: --tags tag1,tag2,tag3")

return cmd
}

0 comments on commit 2d01082

Please sign in to comment.