Skip to content

Commit

Permalink
doc: improve --target help (#492)
Browse files Browse the repository at this point in the history
Changes the help message of --target / -t so that it reflects the
accurate format and the fact it uses regex.
  • Loading branch information
sh0rez committed Feb 2, 2021
1 parent 2caa673 commit 65c0aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/tk/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ type workflowFlagVars struct {

func workflowFlags(fs *pflag.FlagSet) *workflowFlagVars {
v := workflowFlagVars{}
fs.StringVar(&v.name, "name", "", "selects an environment from inline environments")
fs.StringSliceVarP(&v.targets, "target", "t", nil, "only use the specified objects (Format: <type>/<name>)")
fs.StringVar(&v.name, "name", "", "Selects an environment from inline environments")
fs.StringSliceVarP(&v.targets, "target", "t", nil, "Regex filter on '<kind>/<name>'. See https://tanka.dev/output-filtering")
return &v
}

Expand Down

0 comments on commit 65c0aea

Please sign in to comment.