use console.error when applicable

This commit is contained in:
Josh Harvey 2016-11-18 18:43:54 +02:00
parent e008eb93bc
commit 0aa457680c
5 changed files with 6 additions and 6 deletions

View file

@ -8,8 +8,8 @@ const label = process.argv[2]
const masterSeedHex = process.argv[3].trim()
if (process.argv.length !== 4) {
console.log('hdkf <label> <masterKey>')
console.log('masterKey should be in hex encoding.')
console.error('hdkf <label> <masterKey>')
console.error('masterKey should be in hex encoding.')
process.exit(3)
}