Merge branch '0.8.x' of jill@xmpp001.controlezvous.ca:/opt/local/share/laconica into 0.8.x

This commit is contained in:
Evan Prodromou
2009-06-28 16:20:58 -04:00
3 changed files with 42 additions and 17 deletions

View File

@@ -63,7 +63,14 @@ if (isset($longoptions)) {
$parser = new Console_Getopt();
list($options, $args) = $parser->getopt($argv, $shortoptions, $longoptions);
$result = $parser->getopt($argv, $shortoptions, $longoptions);
if (PEAR::isError($result)) {
print $result->getMessage()."\n";
exit(1);
} else {
list($options, $args) = $result;
}
function show_help()
{