Skip to content

Commit

Permalink
get command from arguments list
Browse files Browse the repository at this point in the history
Co-authored-by: Thorkil Værge <thor@neptune.cash>
  • Loading branch information
aszepieniec and Sword-Smith committed Jan 11, 2024
1 parent f2bd2f9 commit 449c63b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bin/neptune-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ async fn main() -> Result<()> {
receiver_address.to_bech32m(network).unwrap()
);

println!("To display the seed phrase, run `neptune-cli export-seed-phrase`.");
println!(
"To display the seed phrase, run `{} export-seed-phrase`.",
std::env::args().next().unwrap()
);

return Ok(());
}
Expand Down

0 comments on commit 449c63b

Please sign in to comment.