From 35b3e3e4a8e7b17292f44453182248f8d4f93ea1 Mon Sep 17 00:00:00 2001 From: Tucker Kern Date: Thu, 7 Sep 2023 01:34:37 +0000 Subject: [PATCH] Fix typo in help and clarify device ID --- msmart/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msmart/cli.py b/msmart/cli.py index 0e68dd26..6494017b 100644 --- a/msmart/cli.py +++ b/msmart/cli.py @@ -174,13 +174,13 @@ def main() -> NoReturn: help="Automatically authenticate V3 devices.", action="store_true") query_parser.add_argument("--id", - help="Device ID. Required for manual authentication.", + help="Device ID for V3 devices.", dest="device_id", type=int, default=0) query_parser.add_argument("--token", help="Authentication token for V3 devices.", type=bytes.fromhex) query_parser.add_argument("--key", - help="Authentication ke for V3 devices.", + help="Authentication key for V3 devices.", type=bytes.fromhex) query_parser.set_defaults(func=_query)