diff --git a/core/command/app/disable.php b/core/command/app/disable.php
index fc95739d997301848663673561b98d369944201a..dcdee92349e26d9675783d99bee3d33e57c97b04 100644
--- a/core/command/app/disable.php
+++ b/core/command/app/disable.php
@@ -19,14 +19,14 @@ class Disable extends Command {
 			->setName('app:disable')
 			->setDescription('disable an app')
 			->addArgument(
-				'app_id',
+				'app-id',
 				InputArgument::REQUIRED,
 				'disable 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)) {
 			\OC_App::disable($appId);
 			$output->writeln($appId . ' disabled');
diff --git a/core/command/app/enable.php b/core/command/app/enable.php
index 20cb55c4aab5714d4fa0a6284062c40a634f44c0..f08546602ee0eab23ddbe97cb5ff1b28ec546a77 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)) {