@@ -31,25 +31,40 @@ import (
31
31
32
32
var (
33
33
walletCommand = cli.Command {
34
- Name : "wallet" ,
35
- Usage : "Import Ethereum presale wallets" ,
36
- Action : utils .MigrateFlags (importWallet ),
37
- Category : "ACCOUNT COMMANDS" ,
38
- Flags : []cli.Flag {
39
- utils .DataDirFlag ,
40
- utils .KeyStoreDirFlag ,
41
- utils .PasswordFileFlag ,
42
- utils .LightKDFFlag ,
43
- },
34
+ Name : "wallet" ,
35
+ Usage : "Manage Ethereum presale wallets" ,
36
+ ArgsUsage : "" ,
37
+ Category : "ACCOUNT COMMANDS" ,
44
38
Description : `
45
- geth wallet [options] /path/to/my/presale.wallet
39
+ geth wallet import /path/to/my/presale.wallet
40
+
41
+ will prompt for your password and imports your ether presale account.
42
+ It can be used non-interactively with the --password option taking a
43
+ passwordfile as argument containing the wallet password in plaintext.` ,
44
+ Subcommands : []cli.Command {
45
+ {
46
46
47
- will prompt for your password and imports your ether presale account.
48
- It can be used non-interactively with the --password option taking a
49
- passwordfile as argument containing the wallet password in plaintext.
47
+ Name : "import" ,
48
+ Usage : "Import Ethereum presale wallet" ,
49
+ ArgsUsage : "<keyFile>" ,
50
+ Action : utils .MigrateFlags (importWallet ),
51
+ Category : "ACCOUNT COMMANDS" ,
52
+ Flags : []cli.Flag {
53
+ utils .DataDirFlag ,
54
+ utils .KeyStoreDirFlag ,
55
+ utils .PasswordFileFlag ,
56
+ utils .LightKDFFlag ,
57
+ },
58
+ Description : `
59
+ geth wallet [options] /path/to/my/presale.wallet
50
60
51
- ` ,
61
+ will prompt for your password and imports your ether presale account.
62
+ It can be used non-interactively with the --password option taking a
63
+ passwordfile as argument containing the wallet password in plaintext.` ,
64
+ },
65
+ },
52
66
}
67
+
53
68
accountCommand = cli.Command {
54
69
Name : "account" ,
55
70
Usage : "Manage accounts" ,
0 commit comments