OSDN Git Service

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 c877a8d..c5b0d86 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;