Sort help file names, from Peter Eisentraut
authorBruce Momjian <bruce@momjian.us>
Sat, 6 Nov 1999 16:49:06 +0000 (16:49 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 6 Nov 1999 16:49:06 +0000 (16:49 +0000)
src/bin/psql/create_help.pl

index c877a8d1d427ca692b556bbab039279683c74bc1..c5b0d8680656108e57a568a6dc1b602954d06277 100644 (file)
@@ -46,7 +46,7 @@ struct _helpStruct
 static struct _helpStruct QL_HELP[] = {
 ";
 
-foreach $file (readdir DIR) {
+foreach $file (sort readdir DIR) {
     my ($cmdname, $cmddesc, $cmdsynopsis);
     $file =~ /\.sgml$/ || next;