') {
if (substr($line, 4, 10) == '') {
$td_v = array('', '');
$td = '';
} else {
unset($td_v);
preg_match('`\(.*)\ | `', $line, $matches);
if (empty($matches[2])) {
$td_c = array();
if (substr($line, 0, 8) == '') {
preg_match('`\\\- (.*)\
(.*)\- (.*)\
(.*)\ \ | `', $line, $matches);
$td_c[0] = ' - '.$matches[1];
$td_c[1] = ' - '.$matches[3];
$dd_user = $matches[2];
$dd_sys = $matches[4];
preg_match('`\- (.*)\
`', $dd_user, $matches);
$td_c[0] .= strtoupper($matches[1]).' => '.$matches[2];
preg_match('`\- (.*)\
`', $dd_sys, $matches);
$td_c[1] .= strtoupper($matches[1]).' => '.$matches[2];
} else {
$td[1] = strip_tags($matches[0]);
}
} else {
if (empty($matches[1])) {
$td[1] = strip_tags($matches[2]);
} else {
$td[0] = $matches[2];
}
}
}
}
} else {
if ($tdeps) {
$tr_w[$w] = $line;
$w++;
} else {
if ($line == '') {
$deps = array();
} else {
$line = strip_tags($line);
$td .= $line;
}
}
}
}
}
/**
* Show full help information
*
* @param string $footer (optional) page footer content
*
* @return void
* @access private
*/
function _printUsage($footer = '')
{
$header = 'Usage: '
. basename($_SERVER['SCRIPT_NAME']) . " [options]\n\n";
echo Console_Getargs::getHelp($this->opts, $header,
"\n$footer\n", 78, 2)."\n";
}
}
?> |