parser = argparse.ArgumentParser(description=__doc__, version=__version__)
parser.add_argument(
- '-c', '--config', metavar='PATH', nargs='*',
+ '-c', '--config', metavar='PATH', default=[], action='append',
help='path to the configuration file')
parser.add_argument(
'-d', '--data', metavar='PATH',
LOG.setLevel(max(_logging.DEBUG, _logging.ERROR - 10 * args.verbose))
try:
+ if not args.config:
+ args.config = None
feeds = Feeds(datafile=args.data, configfiles=args.config)
if args.func != cmd_new:
lock = args.func not in [cmd_list, cmd_opmlexport]