sort commands by name
This commit is contained in:
parent
84f74f9f9f
commit
1288af8e93
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class ManpageHelpFormatter(optparse.HelpFormatter):
|
|||
if len(cmds) == 0:
|
||||
continue
|
||||
s += '.SH %s COMMANDS\n' % section.upper()
|
||||
for cmd in cmds:
|
||||
for cmd in sorted(cmds):
|
||||
s += '.TP\n'
|
||||
h = cmd.split('\n')
|
||||
if ' ' in h[0]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue