1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +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 {
$passwd = Arsse::$user->add($user, $password);
if (is_null($password)) {
echo $passwd;
echo $passwd.\PHP_EOL;
}
return 0;
}