Use correct variable name
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 22 Jan 2010 18:13:18 +0000 (18:13 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 22 Jan 2010 18:13:18 +0000 (18:13 +0000)
maintenance/mcc.php

index 5a618a2..73730b1 100644 (file)
@@ -35,7 +35,7 @@ function mccShowHelp($command) {
                        print "$cmd: $desc\n";
                }
        } elseif( isset( $commandList[$command] ) ) {
-               print "$cmd: $desc\n";
+               print "$command: $commandList[$command]\n";
        } else {
                print "$command: command does not exist or no help for it\n";
        }