- added usage help string
authorIngo Ruhnke <grumbel@gmx.de>
Sat, 20 Mar 2004 21:35:07 +0000 (21:35 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Sat, 20 Mar 2004 21:35:07 +0000 (21:35 +0000)
SVN-Revision: 285

contrib/levelconverter-0.0.6_0.0.7.py

index 7c7085b..3679810 100755 (executable)
@@ -2,6 +2,10 @@
 
 import sys
 
+if len(sys.argv) != 2:
+    print "Usage: %s FILENAME" % sys.argv[0]
+    sys.exit()
+
 print ";; Converting:", sys.argv[1]
 
 f = open(sys.argv[1], 'r')