summaryrefslogtreecommitdiffstats
path: root/console.php
diff options
context:
space:
mode:
Diffstat (limited to 'console.php')
-rw-r--r--console.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/console.php b/console.php
index d8c23d4ce00..eb6c84c3cf8 100644
--- a/console.php
+++ b/console.php
@@ -27,6 +27,7 @@
*/
use OC\Console\Application;
+use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Output\ConsoleOutput;
define('OC_CONSOLE', 1);
@@ -81,7 +82,7 @@ try {
}
$application = new Application(\OC::$server->getConfig(), \OC::$server->getEventDispatcher(), \OC::$server->getRequest());
- $application->loadCommands(new ConsoleOutput());
+ $application->loadCommands(new ArgvInput(), new ConsoleOutput());
$application->run();
} catch (Exception $ex) {
echo "An unhandled exception has been thrown:" . PHP_EOL;