From 50364499dd7431b9d4c0f1f7a7a10238d851722a Mon Sep 17 00:00:00 2001 From: atoav <dh@atoav.com> Date: Tue, 28 Apr 2020 20:57:48 +0200 Subject: [PATCH] Fix broken Help for main --- bbbmon/bbbmon.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/bbbmon/bbbmon.py b/bbbmon/bbbmon.py index 34ac6c9..c88d8c7 100755 --- a/bbbmon/bbbmon.py +++ b/bbbmon/bbbmon.py @@ -24,8 +24,7 @@ FRIENDLY_KEYNAMES = { } -EXAMPLE_CONFIG = """ -[myservername] +EXAMPLE_CONFIG = """[myservername] securitySalt=YOURSUPERSECRETSECRET bigbluebutton.web.serverURL=https://bbb.example.com/ @@ -311,8 +310,16 @@ def new_config(user_config_path: str): -@click.group() +@click.group(context_settings=CONTEXT_SETTINGS) def main(): + """BBBMON is a small CLI utility to monitor bbb usage + + \b + Examples: bbbmon config --edit + bbbmon meetings --watch 20 --endpoint bbb + + Internally bbbmon relies on the offical bbb-API, which means you need to have the server's secret in order to create a valid request. + """ pass @main.command(context_settings=CONTEXT_SETTINGS) -- GitLab