diff options
author | zelig <viktor.tron@gmail.com> | 2015-06-18 23:20:00 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-07-03 06:28:11 +0800 |
commit | fc2e33c594449e38b90bad2bd7b5c50f03b7f69d (patch) | |
tree | 8cd8fbf8f0ecb93234b2fb47df30e5e1b78d5173 /cmd/utils | |
parent | 1d72aaa0cd3a94e95c892a8b8b88a8a1ef59847e (diff) | |
download | dexon-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.tar dexon-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.tar.gz dexon-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.tar.bz2 dexon-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.tar.lz dexon-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.tar.xz dexon-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.tar.zst dexon-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.zip |
unlock multiple passes and obsolete primary
* multiple passwords allowed in password file
* split on "\n", sideeffect: chop trailing slashes. fixes common mistake <(echo 'pass')
* remove accounts.Primary method
* do not fall back to primary account for mining
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 6f319eb40..7460f51e1 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -133,7 +133,7 @@ var ( UnlockedAccountFlag = cli.StringFlag{ Name: "unlock", - Usage: "Unlock the account given until this program exits (prompts for password). '--unlock primary' unlocks the primary account", + Usage: "Unlock the account given until this program exits (prompts for password). '--unlock n' unlocks the n-th account in order or creation.", Value: "", } PasswordFileFlag = cli.StringFlag{ |