diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-10 23:44:22 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-10 23:44:22 +0800 |
commit | 221fae411278825dcaa0ec4058f065752046869b (patch) | |
tree | 214e07fd19840facee4f13053f5e45ad92c5c14c /cmd/ethereum/main.go | |
parent | 2407f006adbcbe5f5405b8591c5e9845cfa7dd5c (diff) | |
download | dexon-221fae411278825dcaa0ec4058f065752046869b.tar dexon-221fae411278825dcaa0ec4058f065752046869b.tar.gz dexon-221fae411278825dcaa0ec4058f065752046869b.tar.bz2 dexon-221fae411278825dcaa0ec4058f065752046869b.tar.lz dexon-221fae411278825dcaa0ec4058f065752046869b.tar.xz dexon-221fae411278825dcaa0ec4058f065752046869b.tar.zst dexon-221fae411278825dcaa0ec4058f065752046869b.zip |
cmd/ethereum: show some help before prompting for encryption passphrase
Diffstat (limited to 'cmd/ethereum/main.go')
-rw-r--r-- | cmd/ethereum/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go index 8beba471a..ed17fcc1f 100644 --- a/cmd/ethereum/main.go +++ b/cmd/ethereum/main.go @@ -186,6 +186,7 @@ Please run 'ethereum account new' to create a new account.`) func startEth(ctx *cli.Context, eth *eth.Ethereum) { utils.StartEthereum(eth) + // Start auxiliary services if enabled. if ctx.GlobalBool(utils.RPCEnabledFlag.Name) { utils.StartRPC(eth, ctx) } @@ -207,6 +208,8 @@ func accountList(ctx *cli.Context) { func accountCreate(ctx *cli.Context) { am := utils.GetAccountManager(ctx) + fmt.Println("The new account will be encrypted with a passphrase.") + fmt.Println("Please enter a passphrase now.") auth, err := readPassword("Passphrase: ", true) if err != nil { utils.Fatalf("%v", err) |