mirror of https://github.com/databricks/cli.git
fix: Correct flag marking for verbose flag in deploy command
This commit is contained in:
parent
d59dd39e57
commit
e4352e8b59
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue