diff --git a/help.json b/help.json index 984b16b..a470e49 100644 --- a/help.json +++ b/help.json @@ -2,5 +2,6 @@ "pass": "pass [password]", "logout": "logout", "connect": "connect [name] [address] [port] [ssl|plain] [nickname]", - "list": "list" + "list": "list", + "rehash": "rehash" } diff --git a/threshold b/threshold index b8569af..19c24ef 100755 --- a/threshold +++ b/threshold @@ -150,6 +150,11 @@ class Helper(object): info("\n".join(helpMap)) return + elif cmd == "rehash": + global config + config = helper.getConfig() + success("Configuration rehashed successfully") + elif cmd == "pass": info("You are already authenticated") return