# HG changeset patch # User Dan Stowell # Date 1354194749 0 # Node ID 9f2626d226ca31b524842efc1f62d9e5fd5b39f1 # Parent 7adab9621caa6f6d26f4b046f80b766ca8dcec1c change nonverbose option to "-q" diff -r 7adab9621caa -r 9f2626d226ca smacpy.py --- a/smacpy.py Thu Nov 29 13:12:05 2012 +0000 +++ b/smacpy.py Thu Nov 29 13:12:29 2012 +0000 @@ -150,9 +150,9 @@ parser.add_argument('-t', '--trainpath', default='wavs', help="Path to the WAV files used for training") parser.add_argument('-T', '--testpath', default='wavs', help="Path to the WAV files used for testing") parser.add_argument('-c', '--charsplit', default='_', help="Character used to split filenames: anything BEFORE this character is the class") - parser.add_argument('-V', dest='lessverbose', action='store_true', help="Be less verbose") + parser.add_argument('-q', dest='quiet', action='store_true', help="Be less verbose, don't output much text during processing") args = vars(parser.parse_args()) - verbose = not args['lessverbose'] + verbose = not args['quiet'] # Build up lists of the training and testing WAV files: wavsfound = {'trainpath':{}, 'testpath':{}}