From 92d74af06e0b3576729d966b3905481ba6dded6b Mon Sep 17 00:00:00 2001 From: Kaarel Moppel Date: Wed, 1 Apr 2020 16:51:50 +0300 Subject: [PATCH] Better patronictl help text for the "flush" subcommand (#1466) Right now it's not really clear from --help what it does, flushing in software context usually means persisting...so actually it's the opposite, so make the intention more explicit. --- patroni/ctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patroni/ctl.py b/patroni/ctl.py index b45e38fc..217cb1f7 100644 --- a/patroni/ctl.py +++ b/patroni/ctl.py @@ -868,7 +868,7 @@ def scaffold(obj, cluster_name, sysid): click.echo("Cluster {0} has been created successfully".format(cluster_name)) -@ctl.command('flush', help='Flush scheduled events') +@ctl.command('flush', help='Discard scheduled events (restarts only currently)') @click.argument('cluster_name') @click.argument('member_names', nargs=-1) @click.argument('target', type=click.Choice(['restart']))