From 5e517e803a92634b9cf80d35ba0209ccec6d45a5 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Thu, 25 Mar 2021 10:04:27 +0800 Subject: [PATCH] add choices --- meshtastic/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index d74b470..fe7b57a 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -186,6 +186,7 @@ def setPref(attributes, name, valStr): val = e.number else: print(f"{name} doesn't have an enum called {val}, so you can not set it.") + print(f"Choices are:") for f in enumType.values: print(f" {f.name}") return