Skip to content

Commit

Permalink
fix: unify flag description
Browse files Browse the repository at this point in the history
  • Loading branch information
siyul-park committed Dec 1, 2023
1 parent 537de10 commit 01d7781
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/uniflow/apply/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ func NewCmd(config Config) *cobra.Command {
RunE: runApplyCommand(config),
}

cmd.PersistentFlags().StringP(FlagNamespace, flag.ToShorthand(FlagNamespace), "", "Set the resource's namespace. If not set, use the default namespace.")
cmd.PersistentFlags().StringP(FlagFile, flag.ToShorthand(FlagFile), "", "Set the file path to be applied.")
cmd.PersistentFlags().StringP(FlagNamespace, flag.ToShorthand(FlagNamespace), "", "Set the resource's namespace. If not set, use the default namespace")
cmd.PersistentFlags().StringP(FlagFile, flag.ToShorthand(FlagFile), "", "Set the file path to be applied")

return cmd
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/uniflow/start/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ func NewCmd(config Config) *cobra.Command {
RunE: runStartCommand(config),
}

cmd.PersistentFlags().StringP(FlagNamespace, flag.ToShorthand(FlagNamespace), "", "Set the worker's namespace.")
cmd.PersistentFlags().StringP(FlagBoot, flag.ToShorthand(FlagBoot), "", "Set the boot file path for initializing nodes.")
cmd.PersistentFlags().StringP(FlagNamespace, flag.ToShorthand(FlagNamespace), "", "Set the worker's namespace")
cmd.PersistentFlags().StringP(FlagBoot, flag.ToShorthand(FlagBoot), "", "Set the boot file path for initializing nodes")

return cmd
}
Expand Down

0 comments on commit 01d7781

Please sign in to comment.