chore: renamed coder template edit flags in coder CLI (#3471)

Use `-` over `_` for cli flags
This commit is contained in:
Muhammad Atif Ali
2022-08-12 18:21:42 +03:00
committed by GitHub
parent b3d3b8ba0f
commit c3fcf7c953
2 changed files with 6 additions and 6 deletions

View File

@ -53,8 +53,8 @@ func templateEdit() *cobra.Command {
}
cmd.Flags().StringVarP(&description, "description", "", "", "Edit the template description")
cmd.Flags().DurationVarP(&maxTTL, "max_ttl", "", 0, "Edit the template maximum time before shutdown")
cmd.Flags().DurationVarP(&minAutostartInterval, "min_autostart_interval", "", 0, "Edit the template minimum autostart interval")
cmd.Flags().DurationVarP(&maxTTL, "max-ttl", "", 0, "Edit the template maximum time before shutdown")
cmd.Flags().DurationVarP(&minAutostartInterval, "min-autostart-interval", "", 0, "Edit the template minimum autostart interval")
cliui.AllowSkipPrompt(cmd)
return cmd