diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2020-10-29 08:21:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 08:21:01 +0100 |
commit | cfc75fb1d38318245abfc341939ef80cab0b0683 (patch) | |
tree | 03e575779248c7a2b2e75641f7225ceb6bdbfc76 /lib/Command/Config/OpmlExport.php | |
parent | ec6930da8226b9879eb2d7289af739aa96de43ef (diff) | |
parent | c5daf112bed9d958f70073fd1cb199beff322334 (diff) |
Merge branch 'master' into fix/dont_overload_getid
Diffstat (limited to 'lib/Command/Config/OpmlExport.php')
-rw-r--r-- | lib/Command/Config/OpmlExport.php | 4 |
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; |