Skip to content

Commit

Permalink
chore: cleanup help formatting and console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakia committed Apr 20, 2024
1 parent b430548 commit fe69c0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/index.mjs
Expand Up @@ -27,7 +27,9 @@ const load_private_key = async () => {
if (private_key) {
console.log('Private key found in environment variable.')
} else {
console.log('No private key found in environment variable or stdin.')
console.log(
'No private key found in environment variable (NANO_PRIVATE_KEY).'
)
// Restore stdin for inquirer
const answers = await inquirer.prompt([
{
Expand Down Expand Up @@ -297,4 +299,5 @@ yargs(hideBin(process.argv))
.command(update_account_meta)
.command(update_block_meta)
.help('h')
.wrap(100)
.alias('h', 'help').argv

0 comments on commit fe69c0b

Please sign in to comment.