Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -6,11 +6,10 @@ · 5 unmodified lines | ||
| 6 | 6 | |
| 7 | 7 | import sys |
| 8 | 8 | |
| 9 | −usage = "usage: %s [options] -i soundfile" % sys.argv[0] | |
| 10 | −usage += "\n help: %s -h" % sys.argv[0] | |
| 11 | − | |
| 12 | 9 | def parse_args(): |
| 13 | 10 | from optparse import OptionParser |
| 11 | + usage = "usage: %s [options] -i soundfile" % sys.argv[0] | |
| 12 | + usage += "\n help: %s -h" % sys.argv[0] | |
| 14 | 13 | parser = OptionParser(usage=usage) |
| 15 | 14 | parser.add_option("-i", "--input", action = "store", dest = "source_file", |
| 16 | 15 | help="input sound file to analyse", metavar = "<source_file>") |