From 1ca5b4b4563511b3a2476e7084f69478249287b5 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Thu, 28 Sep 2017 19:25:31 -0400 Subject: [PATCH] Add newline after password in CLI --- lib/CLI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CLI.php b/lib/CLI.php index 56dfbad..971197f 100644 --- a/lib/CLI.php +++ b/lib/CLI.php @@ -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; }