summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerate-cmdlist.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh
index 16043e3847..e517c33710 100755
--- a/generate-cmdlist.sh
+++ b/generate-cmdlist.sh
@@ -18,8 +18,8 @@ category_list () {
command_list "$1" |
cut -c 40- |
tr ' ' '\012' |
- LC_ALL=C sort -u |
- grep -v '^$'
+ grep -v '^$' |
+ LC_ALL=C sort -u
}
get_synopsis () {