diff --git a/README.md b/README.md index be73374f..1c6ef3f9 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ optional arguments: -p mqtt_password, --mqtt-password mqtt_password A valid password for the MQTT broker --mqtt-port mqtt_port - The listenting port of the MQTT broker + The listening port of the MQTT broker (default: 1883) --mqtt-retain Instruct the MQTT broker to retain messages --mqtt-tls Enable MQTT over TLS @@ -265,7 +265,7 @@ optional arguments: `imperial`) - `ECOWITT2MQTT_MQTT_BROKER`: the hostname or IP address of an MQTT broker - `ECOWITT2MQTT_MQTT_PASSWORD`: a valid password for the MQTT broker -- `ECOWITT2MQTT_MQTT_PORT`: the listenting port of the MQTT broker (default: `1883`) +- `ECOWITT2MQTT_MQTT_PORT`: the listening port of the MQTT broker (default: `1883`) - `ECOWITT2MQTT_MQTT_RETAIN`: whether to instruct the MQTT broker to retain messages (default: `false`) - `ECOWITT2MQTT_MQTT_TLS`: publish data via MQTT over TLS (default: `false`) diff --git a/ecowitt2mqtt/__main__.py b/ecowitt2mqtt/__main__.py index 2cd2cf40..8372ac35 100644 --- a/ecowitt2mqtt/__main__.py +++ b/ecowitt2mqtt/__main__.py @@ -294,7 +294,7 @@ def get_cli_arguments(args: list[str]) -> dict[str, Any]: parser.add_argument( "--mqtt-port", dest=CONF_MQTT_PORT, - help=f"The listenting port of the MQTT broker (default: {DEFAULT_MQTT_PORT})", + help=f"The listening port of the MQTT broker (default: {DEFAULT_MQTT_PORT})", metavar=CONF_MQTT_PORT, ) parser.add_argument( diff --git a/poetry.lock b/poetry.lock index d8f007e8..45c1c08a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -351,17 +351,17 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} [[package]] name = "codespell" -version = "2.2.5" +version = "2.2.6" description = "Codespell" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "codespell-2.2.5-py3-none-any.whl", hash = "sha256:efa037f54b73c84f7bd14ce8e853d5f822cdd6386ef0ff32e957a3919435b9ec"}, - {file = "codespell-2.2.5.tar.gz", hash = "sha256:6d9faddf6eedb692bf80c9a94ec13ab4f5fb585aabae5f3750727148d7b5be56"}, + {file = "codespell-2.2.6-py3-none-any.whl", hash = "sha256:9ee9a3e5df0990604013ac2a9f22fa8e57669c827124a2e961fe8a1da4cacc07"}, + {file = "codespell-2.2.6.tar.gz", hash = "sha256:a8c65d8eb3faa03deabab6b3bbe798bea72e1799c7e9e955d57eca4096abcff9"}, ] [package.extras] -dev = ["Pygments", "build", "chardet", "pytest", "pytest-cov", "pytest-dependency", "ruff", "tomli"] +dev = ["Pygments", "build", "chardet", "pre-commit", "pytest", "pytest-cov", "pytest-dependency", "ruff", "tomli", "twine"] hard-encoding-detection = ["chardet"] toml = ["tomli"] types = ["chardet (>=5.1.0)", "mypy", "pytest", "pytest-cov", "pytest-dependency"] @@ -472,20 +472,6 @@ files = [ {file = "darglint-1.8.1.tar.gz", hash = "sha256:080d5106df149b199822e7ee7deb9c012b49891538f14a11be681044f0bb20da"}, ] -[[package]] -name = "dill" -version = "0.3.6" -description = "serialize all of python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "dill-0.3.6-py3-none-any.whl", hash = "sha256:a07ffd2351b8c678dfc4a856a3005f8067aea51d6ba6c700796a4d9e280f39f0"}, - {file = "dill-0.3.6.tar.gz", hash = "sha256:e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373"}, -] - -[package.extras] -graph = ["objgraph (>=1.7.2)"] - [[package]] name = "dill" version = "0.3.7"