Skip to content

Commit

Permalink
Merge branch 'dev' into dependabot/pip/pyupgrade-3.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bachya authored Oct 6, 2023
2 parents 5eb238a + d2a0899 commit 542140f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 22 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`)
Expand Down
2 changes: 1 addition & 1 deletion ecowitt2mqtt/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
24 changes: 5 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 542140f

Please sign in to comment.