mirror of
https://github.com/esphome/esphome.git
synced 2024-11-13 02:37:47 +01:00
Don't try compat parsing for "esphome version" (#1966)
This commit is contained in:
parent
062cedc200
commit
fd4b7d4588
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ def parse_args(argv):
|
||||||
|
|
||||||
deprecated_argv_suggestion = None
|
deprecated_argv_suggestion = None
|
||||||
|
|
||||||
if ["dashboard", "config"] == argv[1:3]:
|
if ["dashboard", "config"] == argv[1:3] or ["version"] == argv[1:2]:
|
||||||
# this is most likely meant in new-style arg format. do not try compat parsing
|
# this is most likely meant in new-style arg format. do not try compat parsing
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue