New S-shaped falling bullet pattern.
[python-bulletml.git] / bulletml-to-bulletyaml
index c5f8c56..89f861b 100755 (executable)
@@ -6,7 +6,11 @@ import yaml
 from bulletml import BulletML, bulletyaml
 
 def main(argv):
+    if not argv:
+        raise SystemExit("Usage: %s filename ..." % sys.argv[0])
+
     for filename in argv:
+        print "# Loading", filename
         print yaml.dump(BulletML.FromDocument(open(filename, "rU")))
 
 if __name__ == "__main__":