Skip to content

Commit

Permalink
back out the -c and -S
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Oct 2, 2021
1 parent b3f2beb commit 0d40676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ func wrapConfigFn(restConfig *rest.Config) *rest.Config {

func setZitiFlags(command *cobra.Command) *cobra.Command {

command.PersistentFlags().StringVarP(&zFlags.zConfig, "zConfig", "c", "", "Path to ziti config file")
command.PersistentFlags().StringVarP(&zFlags.service, "service", "S", "", "Service name")
command.PersistentFlags().StringVarP(&zFlags.zConfig, "zConfig", "", "", "Path to ziti config file")
command.PersistentFlags().StringVarP(&zFlags.service, "service", "", "", "Service name")

return command
}
Expand Down

0 comments on commit 0d40676

Please sign in to comment.