change the search subcommand so that it fits the documentation
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 26 Aug 2020 07:31:21 +0000 (09:31 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 26 Aug 2020 07:31:21 +0000 (09:31 +0200)
src/Console/User.php

index bbe65d8..a9378a6 100644 (file)
@@ -409,7 +409,7 @@ HELP;
                        case 'guid':
                                $user = UserModel::getByGuid($param, $fields);
                                break;
-                       case 'email':
+                       case 'mail':
                                $user = UserModel::getByEmail($param, $fields);
                                break;
                        case 'nick':