summaryrefslogtreecommitdiffstats
path: root/lib/Command/Config/FolderList.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Command/Config/FolderList.php')
-rw-r--r--lib/Command/Config/FolderList.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Command/Config/FolderList.php b/lib/Command/Config/FolderList.php
index 26c61f5cf..6340f4d57 100644
--- a/lib/Command/Config/FolderList.php
+++ b/lib/Command/Config/FolderList.php
@@ -34,7 +34,7 @@ class FolderList extends Command
{
$this->setName('news:folder:list')
->setDescription('List all folders')
- ->addArgument('userID', InputArgument::REQUIRED, 'User to list the folders for')
+ ->addArgument('user-id', InputArgument::REQUIRED, 'User to list the folders for')
->addOption('recursive', null, InputOption::VALUE_NONE, 'Fetch the folder recursively');
}
@@ -48,7 +48,7 @@ class FolderList extends Command
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
- $user = $input->getArgument('userID');
+ $user = $input->getArgument('user-id');
$recursive = $input->getOption('recursive');
if ($recursive !== false) {