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