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 Jun 17, 2024
1 parent aab7981 commit 57b09b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/index.mjs
Original file line number Diff line number Diff line change
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 57b09b2

Please sign in to comment.