From d1df5ad4e23372ef1f0c9150a7dbf9abc537501e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 29 Nov 2017 00:05:17 +0530 Subject: [PATCH] Enumerate window layout choices in help --- kitty/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/cli.py b/kitty/cli.py index 88e2e3b20..9f4bec2bb 100644 --- a/kitty/cli.py +++ b/kitty/cli.py @@ -57,7 +57,7 @@ Detach from the controlling terminal, if any --window-layout type=choices choices={window_layout_choices} -The window layout to use on startup +The window layout to use on startup. Choices are: {window_layout_choices} --session @@ -405,7 +405,7 @@ def options_spec(): if not hasattr(options_spec, 'ans'): options_spec.ans = OPTIONS.format( appname=appname, config_path=defconf, - window_layout_choices=','.join(all_layouts) + window_layout_choices=', '.join(all_layouts) ) return options_spec.ans