summaryrefslogtreecommitdiffstats
path: root/lib/Command/Config/OpmlExport.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Command/Config/OpmlExport.php')
-rw-r--r--lib/Command/Config/OpmlExport.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Command/Config/OpmlExport.php b/lib/Command/Config/OpmlExport.php
index 1642e8505..f51aed555 100644
--- a/lib/Command/Config/OpmlExport.php
+++ b/lib/Command/Config/OpmlExport.php
@@ -29,7 +29,7 @@ class OpmlExport extends Command
{
$this->setName('news:opml:export')
->setDescription('Print OPML file')
- ->addArgument('userID', InputArgument::REQUIRED, 'User data to export');
+ ->addArgument('user-id', InputArgument::REQUIRED, 'User data to export');
}
/**
@@ -42,7 +42,7 @@ class OpmlExport extends Command
*/
protected function execute(InputInterface $input, OutputInterface $output): int
{
- $user = $input->getArgument('userID');
+ $user = $input->getArgument('user-id');
$output->write($this->opmlService->export($user));
return 0;