Make password from hash-password command required.

pull/331/head
Clement Michaud 2019-03-03 23:55:34 +01:00
parent ace780d86b
commit f529cd7b38
1 changed files with 4 additions and 0 deletions

View File

@ -25,4 +25,8 @@ program
})
.parse(process.argv);
if (!password) {
program.help();
}
console.log(ssha512(password, program.salt || 16, program.rounds || 500000));