Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miaucl committed Sep 8, 2024
1 parent c956f0e commit b46119f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linux2mqtt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""linux2mqtt package."""

__VERSION__ = "1.0.0-rc.3"
__VERSION__ = "1.0.0-rc.4"

from .const import (
DEFAULT_CONFIG,
Expand Down
5 changes: 4 additions & 1 deletion linux2mqtt/linux2mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,9 @@ def main() -> None:
"""
parser = argparse.ArgumentParser()
parser.add_argument(
"--version", action="version", version=f"%(prog)s {__VERSION__}"
)
parser.add_argument(
"--name",
default=socket.gethostname(),
Expand Down Expand Up @@ -579,7 +582,7 @@ def main() -> None:
"mqtt_host": args.host,
"mqtt_port": args.port,
"mqtt_timeout": args.timeout,
"mqtt_topic_prefix": args.mqtt_topic_prefix,
"mqtt_topic_prefix": args.topic_prefix,
"mqtt_qos": args.qos,
"interval": args.interval,
}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = linux2mqtt
version = 1.0.0-rc.3
version = 1.0.0-rc.4
author = Cyrill Raccaud
author_email = [email protected]
description = Send your linux stats and and events to mqtt and discovery them in home assistant.
Expand Down

0 comments on commit b46119f

Please sign in to comment.