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";
}
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++ ) {