Rename -a/--search-all to -s/--search, move --verbose alias from -q to -v
and add --quiet alias for -q.
search_help = ('Search for all test suites in the current directory '
'(*.so) and add them')
parser = OptionParser()
search_help = ('Search for all test suites in the current directory '
'(*.so) and add them')
parser = OptionParser()
- parser.add_option('-v', dest='verbose_level', action='count',
- default=1, help=verbose_help)
- parser.add_option('-q', '--verbose-level', dest='quiet',
- action='store_true', default=False, help=quiet_help)
- parser.add_option('-a', '--search-all', dest='search_all',
+ parser.add_option('-v', '--verbose', dest='verbose_level',
+ action='count', default=1, help=verbose_help)
+ parser.add_option('-q', '--quiet', dest='quiet', action='store_true',
+ default=False, help=quiet_help)
+ parser.add_option('-s', '--search', dest='search',
action='store_true', default=False, help=search_help)
return parser.parse_args()
action='store_true', default=False, help=search_help)
return parser.parse_args()
else:
verbose_level = opts.verbose_level
else:
verbose_level = opts.verbose_level
args.extend(glob('*.so'))
if not args:
args.extend(glob('*.so'))
if not args: