diff options
author | Daniel Rudolf <github.com@daniel-rudolf.de> | 2020-05-13 20:21:43 +0300 |
---|---|---|
committer | Daniel Rudolf <github.com@daniel-rudolf.de> | 2020-05-13 20:21:43 +0300 |
commit | 349793e11d25b77e58a6e63798c0673e73f8d647 (patch) | |
tree | 97a7183e811f5b4093f80329d3f89085a5fce296 /lib/Command | |
parent | df3d03c4aba5548c649c259e3cad3ba3283f8272 (diff) |
Rename argument 'user' of talk:room:remove command to 'participant'
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
Diffstat (limited to 'lib/Command')
-rw-r--r-- | lib/Command/Room/Remove.php | 6 |
1 files changed, 3 insertions, 3 deletions
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); |