--- a/checker.py Sun Jul 03 23:48:36 2016 +0800
+++ b/checker.py Sun Jul 03 23:56:46 2016 +0800
parser = ArgumentParser()
- parser.add_argument('config', help='configuration file (YAML)', type=FileType('r'))
+ helptext = 'project configuration file (YAML)'
+ parser.add_argument('config', type=FileType('r'), help=helptext)
args = parser.parse_args()
config = yaml.safe_load(args.config)