From 1288af8e934b70a8d10c6b3400cbacc06890a8f5 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 8 May 2011 17:26:33 +0200 Subject: [PATCH] sort commands by name --- tools/make_man.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make_man.py b/tools/make_man.py index 1b47f00b..fa711d9f 100755 --- a/tools/make_man.py +++ b/tools/make_man.py @@ -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]: