2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-24 23:48:24 +00:00

Revert "perf: Remove unwanted check (#788)" (#790)

This reverts commit 431e96909c1eac3496bbe304aac51299f538640d.
This commit is contained in:
Faris Ansari 2019-04-13 10:11:25 +05:30 committed by GitHub
parent 7843edc8af
commit 93264c6b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ def cli():
if len(sys.argv) > 2 and sys.argv[1] == "frappe":
return old_frappe_cli()
elif len(sys.argv) > 1:
elif len(sys.argv) > 1 and sys.argv[1] in get_frappe_commands():
return frappe_cmd()
elif len(sys.argv) > 1 and sys.argv[1] in ("--site", "--verbose", "--force", "--profile"):