tableName calls moved inside fieldInfoMulti and removed call that existed only for...
[lhc/web/wiklou.git] / maintenance / mcc.php
index 5a618a2..e90266a 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";
        }
@@ -86,6 +86,10 @@ do {
                        break;
 
                case 'server':
+                       if ( $mcc->_single_sock !== null ) {
+                               print $mcc->_single_sock . "\n";
+                               break;
+                       }
                        $res = $mcc->get( $args[0] );
                        $hv = $mcc->_hashfunc( $args[0] );
                        for ( $i = 0; $i < 3; $i++ ) {