diff options
Diffstat (limited to 'core/command/app/enable.php')
-rw-r--r-- | core/command/app/enable.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/command/app/enable.php b/core/command/app/enable.php index 20cb55c4aab..f08546602ee 100644 --- a/core/command/app/enable.php +++ b/core/command/app/enable.php @@ -19,14 +19,14 @@ class Enable extends Command { ->setName('app:enable') ->setDescription('enable an app') ->addArgument( - 'app_id', + 'app-id', InputArgument::REQUIRED, 'enable the specified app' ); } protected function execute(InputInterface $input, OutputInterface $output) { - $appId = $input->getArgument('app_id'); + $appId = $input->getArgument('app-id'); if (\OC_App::isEnabled($appId)) { $output->writeln($appId . ' is already enabled'); } else if (!\OC_App::getAppPath($appId)) { |