From: Tobias Diekershoff <tobias.diekershoff@gmx.net>
Date: Wed, 26 Aug 2020 07:31:21 +0000 (+0200)
Subject: change the search subcommand so that it fits the documentation
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=321121f2132a42b3daf27ccf81f6bbc19f5a5566;p=friendica.git

change the search subcommand so that it fits the documentation
---

diff --git a/src/Console/User.php b/src/Console/User.php
index bbe65d87ce..a9378a61e9 100644
--- a/src/Console/User.php
+++ b/src/Console/User.php
@@ -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':