Enumerate window layout choices in help
This commit is contained in:
parent
6352f585e8
commit
d1df5ad4e2
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user