cli: clean up flag descriptions, usage docs, account list uses primary and indexes, add help line to account subcnd usage

This commit is contained in:
zelig
2015-04-22 00:41:34 +01:00
parent 22450c069b
commit 7b2f25b578
3 changed files with 25 additions and 29 deletions

View File

@ -283,10 +283,6 @@ func (js *jsre) unlock(call otto.FunctionCall) otto.Value {
}
}
am := js.ethereum.AccountManager()
// err := am.Unlock(common.FromHex(split[0]), split[1])
// if err != nil {
// utils.Fatalf("Unlock account failed '%v'", err)
// }
err = am.TimedUnlock(common.FromHex(addr), passphrase, time.Duration(seconds)*time.Second)
if err != nil {
fmt.Printf("Unlock account failed '%v'\n", err)