18 require(dirname(__FILE__) .
'/bootstrap.inc.php');
20 import(
'lib.pkp.classes.cliTool.CliTool');
31 parent::__construct(
$argv);
33 if (($arg = array_pop($this->argv)) ==
'--dry-run') {
35 } elseif ($arg ==
'') {
36 $this->dryrun =
false;
47 echo
"Command-line tool for fixing potential incorrectly named files in OMP 1.0\n"
49 .
"\t{$this->scriptName} [--dry-run]\n"
50 .
"\t\tThe --dry-run option can be used to test without making changes.\n";
57 import(
'classes.install.Upgrade');