#!/Applications/MAMP/bin/php/php5.3.6/bin/php
<?php
require_once 'ProtoFixer.php';
if ($argc != 2 || in_array($argv[1], array('--help', '-help', '-h', '-?'))) {
?>
This is a command line PHP script with one option.
Usage:
<?php echo $argv[0].' <file>'; ?>
<?php echo '<file>'; ?> is a file you emailed from Proto.
With the --help, -help, -h, or -? options, you can get this help.
<?php
exit();
} else {
$file=$argv[1];
$p = new ProtoRewired($file);
}
?>
|