1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 06:44:57 +00:00

Add newline after password in CLI

This commit is contained in:
J. King 2017-09-28 19:25:31 -04:00
parent 73d284e101
commit 1ca5b4b456

View file

@ -84,7 +84,7 @@ USAGE_TEXT;
public function userAdd(string $user, string $password = null): int { public function userAdd(string $user, string $password = null): int {
$passwd = Arsse::$user->add($user, $password); $passwd = Arsse::$user->add($user, $password);
if (is_null($password)) { if (is_null($password)) {
echo $passwd; echo $passwd.\PHP_EOL;
} }
return 0; return 0;
} }