From 349793e11d25b77e58a6e63798c0673e73f8d647 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Wed, 13 May 2020 19:21:43 +0200 Subject: Rename argument 'user' of talk:room:remove command to 'participant' Signed-off-by: Daniel Rudolf --- lib/Command/Room/Remove.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/Command/Room/Remove.php b/lib/Command/Room/Remove.php index 3bc0edadf..3f93d5c08 100644 --- a/lib/Command/Room/Remove.php +++ b/lib/Command/Room/Remove.php @@ -55,15 +55,15 @@ class Remove extends Base { InputArgument::REQUIRED, 'Token of the room to remove users from' )->addArgument( - 'user', + 'participant', InputArgument::REQUIRED | InputArgument::IS_ARRAY, - 'Removes the given users from the room' + 'Removes the given participants from the room' ); } protected function execute(InputInterface $input, OutputInterface $output): ?int { $token = $input->getArgument('token'); - $users = $input->getArgument('user'); + $users = $input->getArgument('participant'); try { $room = $this->manager->getRoomByToken($token); -- cgit v1.2.3