aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlv2compatgen/lv2compatgen.py5
-rwxr-xr-xlv2specgen/lv2specgen.py4
2 files changed, 3 insertions, 6 deletions
diff --git a/lv2compatgen/lv2compatgen.py b/lv2compatgen/lv2compatgen.py
index 60bad70..1b22c8c 100755
--- a/lv2compatgen/lv2compatgen.py
+++ b/lv2compatgen/lv2compatgen.py
@@ -43,9 +43,8 @@ lv2 = RDF.NS('http://lv2plug.in/ns/lv2core#')
doap = RDF.NS('http://usefulinc.com/ns/doap#')
foaf = RDF.NS('http://xmlns.com/foaf/0.1/')
-def print_usage():
- print """
-Usage: lv2compatgen.py DATA
+def usage():
+ print """Usage: lv2compatgen.py DATA
DATA must be a Redland RDF store containing all relevant LV2 data
(a file would be too slow to parse).
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 7a05ff9..9adae8d 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -783,8 +783,7 @@ def getOntologyNS(m):
def usage():
script = os.path.basename(sys.argv[0])
- print """Usage:
- %s ONTOLOGY TEMPLATE STYLE OUTPUT [FLAGS]
+ print """Usage: %s ONTOLOGY TEMPLATE STYLE OUTPUT [FLAGS]
ONTOLOGY : Path to ontology file
TEMPLATE : HTML template path
@@ -798,7 +797,6 @@ def usage():
Example:
%s lv2_foos.ttl template.html style.css lv2_foos.html ../docs -i -p foos
-
""" % (script, script)
sys.exit(-1)