changeset 435:064d2c9f2014

curvecalc usage message
author drewp@bigasterisk.com
date Thu, 12 Jun 2008 06:47:00 +0000
parents c45ce0c1c733
children 5a83935377f9
files bin/curvecalc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/curvecalc	Thu Jun 12 05:53:52 2008 +0000
+++ b/bin/curvecalc	Thu Jun 12 06:47:00 2008 +0000
@@ -397,6 +397,7 @@
 root.tk_focusFollowsMouse()
 
 parser = optparse.OptionParser()
+parser.set_usage("%prog [opts] songURI")
 parser.add_option("--sliders", action='store_true',
                   help='use hardware sliders')
 parser.add_option("--skip-music", action='store_true',
@@ -406,7 +407,7 @@
 try:
     song = URIRef(args[0])
 except IndexError:
-    raise SystemExit("song name is required, e.g. '05-mix'")
+    raise SystemExit("song URI is required, e.g. 'http://light9.bigasterisk.com/show/dance2008/song3'")
 
 log.debug("music")
 music=Music()