From 5829de2c6912c61a70ff7dc66ad34d76b7219ebf Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Sat, 20 Mar 2004 21:35:07 +0000 Subject: [PATCH] - added usage help string SVN-Revision: 285 --- contrib/levelconverter-0.0.6_0.0.7.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/levelconverter-0.0.6_0.0.7.py b/contrib/levelconverter-0.0.6_0.0.7.py index 7c7085bb6..367981026 100755 --- a/contrib/levelconverter-0.0.6_0.0.7.py +++ b/contrib/levelconverter-0.0.6_0.0.7.py @@ -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') -- 2.11.0