Don't try compat parsing for "esphome version" (#1966)
This commit is contained in:
1 parent
062cedc200
commit
fd4b7d4588
1 file changed
+1
-1
+1
-1
@@ -516,7 +516,7 @@ def parse_args(argv):
|
||||
|
||||
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
|
||||
pass
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user