fix: Correct flag marking for verbose flag in deploy command

This commit is contained in:
Denis Bilenko 2024-12-10 17:22:20 +01:00
parent d59dd39e57
commit e4352e8b59
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func newDeployCommand() *cobra.Command {
_ = cmd.Flags().MarkDeprecated("compute-id", "use --cluster-id instead") _ = cmd.Flags().MarkDeprecated("compute-id", "use --cluster-id instead")
cmd.Flags().BoolVar(&verbose, "verbose", false, "Enable verbose output.") cmd.Flags().BoolVar(&verbose, "verbose", false, "Enable verbose output.")
// Verbose flag currently only affects file sync output, it's used by the vscode extension // Verbose flag currently only affects file sync output, it's used by the vscode extension
_ = cmd.Flags().MarkHidden("verbose") cmd.Flags().MarkHidden("verbose")
cmd.RunE = func(cmd *cobra.Command, args []string) error { cmd.RunE = func(cmd *cobra.Command, args []string) error {
ctx := cmd.Context() ctx := cmd.Context()