Commit: 7e55648b2cae1c9f55cb58ec8f07bd88180cece1

Author: Nate Abele | Date: 2010-08-24 23:23:19 -0400
Modifying `Syntax::run()` to default to the current directory when no path is specified.
diff --git a/extensions/command/Syntax.php b/extensions/command/Syntax.php index d4bde0e..d6471f9 100644 --- a/extensions/command/Syntax.php +++ b/extensions/command/Syntax.php @@ -49,7 +49,7 @@ class Syntax extends \lithium\console\Command implements \spriebsch\PHPca\Progre * * @param string $path Absolute path to file or directory. */ - public function run($path) { + public function run($path = '.') { if (!$path = realpath($path)) { $this->error('Not a valid path.'); return false;