From b332eeee3da2e2eff707fa3453375fc9979bb839 Mon Sep 17 00:00:00 2001 From: Luke Sampson Date: Sat, 22 Jun 2013 14:36:35 +1000 Subject: [PATCH] sort help commands alphabetically --- lib/cmd/help.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmd/help.ps1 b/lib/cmd/help.ps1 index a741b648..1316f116 100644 --- a/lib/cmd/help.ps1 +++ b/lib/cmd/help.ps1 @@ -27,7 +27,7 @@ function print_summaries { $commands.add("$command ", $summary) # add padding } - $commands | ft -hidetablehead -autosize -wrap + $commands.getenumerator() | sort name | ft -hidetablehead -autosize -wrap } $commands = commands