From df58901fd9d88df7a1f0e59204cbc2d185546c61 Mon Sep 17 00:00:00 2001 From: benoit Date: Wed, 8 Dec 2021 17:14:38 +0100 Subject: [PATCH] Typo Readme --- README.md | 2 +- check_patroni/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a285d3e..5601bd4 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ Usage: check_patroni cluster_config_has_changed [OPTIONS] Options: --hash TEXT A hash to compare with. - -s, --state-file TEXT A state file to store the tl number into. + -s, --state-file TEXT A state file to store the hash of the configuration. --help Show this message and exit. ``` diff --git a/check_patroni/cli.py b/check_patroni/cli.py index dcb7e39..cc82228 100644 --- a/check_patroni/cli.py +++ b/check_patroni/cli.py @@ -303,7 +303,7 @@ def cluster_has_replica( "--state-file", "state_file", type=str, - help="A state file to store the tl number into.", + help="A state file to store the hash of the configuration.", ) @click.pass_context @nagiosplugin.guarded