Check for help in performance script.
R=ricow
Change-Id: I5c729c679facc95b416177dc882548317c49ee50
diff --git a/tools/performance_try.py b/tools/performance_try.py
index a319307..5830cea 100755
--- a/tools/performance_try.py
+++ b/tools/performance_try.py
@@ -13,7 +13,7 @@
def Main():
args = sys.argv[1:]
- if len(args) != 1:
+ if len(args) != 1 or '--help' in args:
print('Performance tracking takes exactly one argument, the name for display')
return 1
subprocess.check_call([DART, SCRIPT, args[0]])