Fix remote control command docs order randomized

This commit is contained in:
Kovid Goyal
2020-06-20 12:45:05 +05:30
parent b15e58621c
commit be3c76da20

View File

@@ -275,7 +275,7 @@ if you specify a program-to-run you can use the special placeholder
p('\n\n' + as_rst(
global_options_spec, message=cli_msg, usage='command ...', appname='kitty @'))
from kitty.rc.base import cli_params_for
for cmd_name in all_command_names():
for cmd_name in sorted(all_command_names()):
func = command_for_name(cmd_name)
p(f'.. _at_{func.name}:\n')
p('kitty @', func.name + '\n' + '-' * 120)