Download:
child 249:bfd7ba5b3a30
parent 247:b9d50d59eddc
248:46372b527fd0
Anton Shestakov <av6@dwimlabs.net>, Thu, 17 Nov 2016 00:03:14 +0800
queue: report correct default in --interval's help message

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
poll-hgweb-queue.py file | annotate | diff | comparison | revisions
--- a/poll-hgweb-queue.py Wed Oct 26 18:55:41 2016 +0800
+++ b/poll-hgweb-queue.py Thu Nov 17 00:03:14 2016 +0800
@@ -110,7 +110,7 @@
group.add_argument('--redis-host', help='(default: 127.0.0.1)')
group.add_argument('--redis-port', type=int, help='(default: 6379)')
group.add_argument('--redis-password')
- group.add_argument('--interval', type=int, help='(default: 8 hours)')
+ group.add_argument('--interval', type=int, help='(default: 1 hour)')
args = parser.parse_args()
config = yaml.safe_load(args.config) if hasattr(args, 'config') else {}