mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Enumerate window layout choices in help
This commit is contained in:
@@ -57,7 +57,7 @@ Detach from the controlling terminal, if any
|
|||||||
--window-layout
|
--window-layout
|
||||||
type=choices
|
type=choices
|
||||||
choices={window_layout_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
|
--session
|
||||||
@@ -405,7 +405,7 @@ def options_spec():
|
|||||||
if not hasattr(options_spec, 'ans'):
|
if not hasattr(options_spec, 'ans'):
|
||||||
options_spec.ans = OPTIONS.format(
|
options_spec.ans = OPTIONS.format(
|
||||||
appname=appname, config_path=defconf,
|
appname=appname, config_path=defconf,
|
||||||
window_layout_choices=','.join(all_layouts)
|
window_layout_choices=', '.join(all_layouts)
|
||||||
)
|
)
|
||||||
return options_spec.ans
|
return options_spec.ans
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user