# HG changeset patch # User drewp@bigasterisk.com # Date 1213253220 0 # Node ID 064d2c9f20142e3065e7bf74543d970121c1a82c # Parent c45ce0c1c733dd5fedcb9b89ee36929bd54ce4ac curvecalc usage message diff -r c45ce0c1c733 -r 064d2c9f2014 bin/curvecalc --- 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()