From 416672c4be697081b90662318e24d8f93342bab8 Mon Sep 17 00:00:00 2001 From: atoav <dh@atoav.com> Date: Thu, 7 May 2020 11:39:15 +0200 Subject: [PATCH] Make --compact default, add --expanded option --- bbbmon/bbbmon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbbmon/bbbmon.py b/bbbmon/bbbmon.py index 9be5af2..ff8fd62 100755 --- a/bbbmon/bbbmon.py +++ b/bbbmon/bbbmon.py @@ -65,7 +65,7 @@ def main(userconfig, watch): @click.option('--presenter/--no-presenter', default=True, show_default=True, help="Hide or show the presenters") @click.option('--presenter-id/--no-presenter-id', default=False, show_default=True, help="Hide or show the presenter IDs") @click.option('--short', '-s', is_flag=True, help="Print less") -@click.option('--compact', '-c', is_flag=True, help="Print compactly") +@click.option('--compact/--expanded', '-c/-x', default=True, show_default=True, help="Print compactly (in columns) or expanded (on seperate lines)") @click.option('--twolines', '-2', is_flag=True, help="Print essentials on two lines") @click.option('--all', '-a', 'all_', is_flag=True, help="Print all") @click.option('--fancy/--no-fancy', default=False, show_default=True, help="Use fancy headers") -- GitLab