From 3176bcafa479d2fa06041e82df04323db6f4f595 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sun, 5 Apr 2020 16:57:40 -0500 Subject: [PATCH] fix(console): Fix CLI commands without params (#57) --- src/Acorn/Bootstrap/Console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Acorn/Bootstrap/Console.php b/src/Acorn/Bootstrap/Console.php index 0358811a..a64bbc7b 100644 --- a/src/Acorn/Bootstrap/Console.php +++ b/src/Acorn/Bootstrap/Console.php @@ -43,7 +43,7 @@ public function bootstrap(Application $app) $kernel->commands(); $status = $kernel->handle( - $input = new \Symfony\Component\Console\Input\ArgvInput(array_slice($args, 2)), + $input = new \Symfony\Component\Console\Input\ArgvInput(array_slice($args, 1)), new \Symfony\Component\Console\Output\ConsoleOutput() );