--- a/hooks-queue.py Sun Jul 17 22:38:03 2016 +0800
+++ b/hooks-queue.py Sun Jul 17 23:13:19 2016 +0800
group.add_argument('--redis-password')
args, extra = parser.parse_known_args()
- options.parse_command_line(extra)
+ options.parse_command_line([None] + extra) # 1st argument is ignored
config = yaml.safe_load(args.config) if hasattr(args, 'config') else {}
rhost = lookup_option('redis-host', args, config, default='127.0.0.1')