summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/Command/App/Install.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Command/App/Install.php b/core/Command/App/Install.php
index 95c8d2ec755..4432a1f40ac 100644
--- a/core/Command/App/Install.php
+++ b/core/Command/App/Install.php
@@ -41,10 +41,10 @@ class Install extends Command {
'install the specified app'
)
->addOption(
- 'enable',
+ 'keep-disabled',
null,
InputOption::VALUE_NONE,
- 'enable the app afterwards'
+ 'don\'t enable the app afterwards'
)
;
}
@@ -73,7 +73,7 @@ class Install extends Command {
$output->writeln($appId . ' installed');
- if ($input->getOption('enable')) {
+ if (!$input->getOption('keep-disabled')) {
$appClass = new \OC_App();
$appClass->enable($appId);
$output->writeln($appId . ' enabled');