Changeset 1f00b69


Ignore:
Timestamp:
Mar 23, 2017, 2:48:10 PM (2 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler
Children:
8e2f36a
Parents:
f012722
Message:

python/scripts/aubiocut: move usage string inside parse_args()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/scripts/aubiocut

    rf012722 r1f00b69  
    77import sys
    88
    9 usage = "usage: %s [options] -i soundfile" % sys.argv[0]
    10 usage += "\n help: %s -h" % sys.argv[0]
    11 
    129def parse_args():
    1310    from optparse import OptionParser
     11    usage = "usage: %s [options] -i soundfile" % sys.argv[0]
     12    usage += "\n help: %s -h" % sys.argv[0]
    1413    parser = OptionParser(usage=usage)
    1514    parser.add_option("-i", "--input", action = "store", dest = "source_file",
Note: See TracChangeset for help on using the changeset viewer.