diff options
Diffstat (limited to 'apps/dav/lib/Command/ListCalendars.php')
-rw-r--r-- | apps/dav/lib/Command/ListCalendars.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Command/ListCalendars.php b/apps/dav/lib/Command/ListCalendars.php index 9080e9f8e29..6c2f5bdb506 100644 --- a/apps/dav/lib/Command/ListCalendars.php +++ b/apps/dav/lib/Command/ListCalendars.php @@ -59,13 +59,13 @@ class ListCalendars extends Command { $this ->setName('dav:list-calendars') ->setDescription('List all calendars of a user') - ->addArgument('user', + ->addArgument('uid', InputArgument::REQUIRED, 'User for whom all calendars will be listed'); } protected function execute(InputInterface $input, OutputInterface $output) { - $user = $input->getArgument('user'); + $user = $input->getArgument('uid'); if (!$this->userManager->userExists($user)) { throw new \InvalidArgumentException("User <$user> is unknown."); } |