改名
This commit is contained in:
@@ -66,7 +66,7 @@ class ServerCommand extends Command
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$manager = Kiri::app()->getServer();
|
$manager = Kiri::app()->getServer();
|
||||||
$manager->setDaemon($input->getArgument('daemon'));
|
$manager->setDaemon((int)$input->hasOption('--daemon'));
|
||||||
if (!in_array($input->getArgument('action'), self::ACTIONS)) {
|
if (!in_array($input->getArgument('action'), self::ACTIONS)) {
|
||||||
throw new Exception('I don\'t know what I want to do.');
|
throw new Exception('I don\'t know what I want to do.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user