Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / tools / metrics / histograms / update_extension_functions.py
index dd390a2..1d00033 100644 (file)
@@ -9,10 +9,16 @@ If the file was pretty-printed, the updated version is pretty-printed too.
 """
 
 import os
+import sys
 
 from update_histogram_enum import UpdateHistogramEnum
 
 if __name__ == '__main__':
+  if len(sys.argv) > 1:
+    print >>sys.stderr, 'No arguments expected!'
+    sys.stderr.write(__doc__)
+    sys.exit(1)
+
   UpdateHistogramEnum(histogram_enum_name='ExtensionFunctions',
                       source_enum_path=
                           os.path.join('..', '..', '..', 'extensions',