summaryrefslogtreecommitdiffstats
path: root/lib/Command/Config/OpmlExport.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-10-28 23:06:49 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2020-10-29 08:19:03 +0100
commitc5daf112bed9d958f70073fd1cb199beff322334 (patch)
tree1ad53dd9da69bf6e991339b97ad754755b6e13fe /lib/Command/Config/OpmlExport.php
parent47104a1971f1c254ade89d9c084e73a446cc8c20 (diff)
Command: Add unittests
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
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;