File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -175,16 +175,12 @@ def main():
175175 except click .ClickException as e :
176176 e .show ()
177177 message = """
178- It seems like you might have entered an invalid command or used invalid flags.
178+ Warning: The version of the CLI you are using is deprecated.
179+ To migrate to the new CLI, see https://docs.databricks.com/dev-tools/cli/migrate.html.
179180
180- The version of the CLI you're using is v{}.
181-
182- If you're trying to invoke the new version of our CLI, please note that the commands and
183- flags might be different. To help you transition, we've created a migration guide that
184- explains these changes and how to adapt your command line arguments accordingly.
185-
186- You can find the migration guide at: https://docs.databricks.com/dev-tools/cli/migrate.html
187- """ .format (version )
181+ In the new CLI, commands and flags might be different.
182+ The preceding migration guide provides guidance about how to adapt your commands accordingly.
183+ """
188184 click .echo (click .style (message , fg = 'yellow' ), err = True )
189185 sys .exit (e .exit_code )
190186 except click .Abort :
You can’t perform that action at this time.
0 commit comments