Skip to content

Commit

Permalink
docs: change flag usage in apply command
Browse files Browse the repository at this point in the history
  • Loading branch information
siyul-park committed Nov 25, 2023
1 parent ea48223 commit 28c1e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/uniflow/apply/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ func NewCmd(config Config) *cobra.Command {
},
}

cmd.PersistentFlags().StringP(FlagNamespace, flag.ToShorthand(FlagNamespace), "", "uniflow namespace")
cmd.PersistentFlags().StringP(FlagFile, flag.ToShorthand(FlagFile), "", "configuration file name")
cmd.PersistentFlags().StringP(FlagNamespace, flag.ToShorthand(FlagNamespace), "", "Set the namespace. If not set it up, use default namespace. In this case.")
cmd.PersistentFlags().StringP(FlagFile, flag.ToShorthand(FlagFile), "", "Set the file path that want to be applied.")

return cmd
}

0 comments on commit 28c1e2c

Please sign in to comment.