Commit 34faf26 1 parent 2f8242d commit 34faf26 Copy full SHA for 34faf26
File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -175,16 +175,12 @@ def main():
175
175
except click .ClickException as e :
176
176
e .show ()
177
177
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.
179
180
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
+ """
188
184
click .echo (click .style (message , fg = 'yellow' ), err = True )
189
185
sys .exit (e .exit_code )
190
186
except click .Abort :
You can’t perform that action at this time.
0 commit comments