aboutsummaryrefslogtreecommitdiff
path: root/modules/auto_mode.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-23 10:28:14 +0100
committerGravatar jesopo2019-05-23 10:28:14 +0100
commitcf29c371120929c53490d6017d5f43cf04f3cbc9 (patch)
treefcdce0685aca7a7edb319b35589ecc4ce80edbd6 /modules/auto_mode.py
parent`event.eat()` for command.regex hooks in github module (diff)
signature
Add usage examples for all settings
Diffstat (limited to 'modules/auto_mode.py')
-rw-r--r--modules/auto_mode.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auto_mode.py b/modules/auto_mode.py
index c8c5d173..fd01f787 100644
--- a/modules/auto_mode.py
+++ b/modules/auto_mode.py
@@ -1,7 +1,8 @@
from src import ModuleManager, utils
@utils.export("channelset", {"setting": "automode",
- "help": "Disable/Enable automode", "validate": utils.bool_or_none})
+ "help": "Disable/Enable automode", "validate": utils.bool_or_none,
+ "example": "on"})
class Module(ModuleManager.BaseModule):
_name = "AutoMode"