aboutsummaryrefslogtreecommitdiff
path: root/cli.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.js b/cli.js
index be988e9..1eeb19d 100755
--- a/cli.js
+++ b/cli.js
@@ -151,7 +151,7 @@ if ((idx = params.indexOf("-r")) > -1) {
const uid = params[idx + 1];
if (!uid) process.exit(1);
db.regenerateUser(uid)
- .then(() => console.info("Regenerating user with id " + uid))
+ .then((pwd) => console.info(`Regenerating user with id ${uid}: ${pwd}`))
.then(() => process.exit(0))
.catch(console.error);
} else {