Cosmetic change : add a blank line
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1214 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2
cli.php
2
cli.php
@@ -1,5 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class cli
|
class cli
|
||||||
{
|
{
|
||||||
/** Run in CLI mode with parameters */
|
/** Run in CLI mode with parameters */
|
||||||
@@ -157,6 +156,7 @@ $cli->run(); */
|
|||||||
$key = reset (array_keys ($argv, "-"));
|
$key = reset (array_keys ($argv, "-"));
|
||||||
$argv[$key] = file_get_contents ("php://stdin");
|
$argv[$key] = file_get_contents ("php://stdin");
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO : Manage a parameter in the constructor of the class
|
// TODO : Manage a parameter in the constructor of the class
|
||||||
$r = new $class;
|
$r = new $class;
|
||||||
switch (count ($argv))
|
switch (count ($argv))
|
||||||
|
|||||||
Reference in New Issue
Block a user