@@ -31,30 +31,37 @@ import (
3131
3232var (
3333 walletCommand = cli.Command {
34- Name : "wallet" ,
35- Usage : "ethereum presale wallet" ,
36- Subcommands : []cli.Command {
37- {
38- Action : importWallet ,
39- Name : "import" ,
40- Usage : "import ethereum presale wallet" ,
41- },
42- },
34+ Name : "wallet" ,
35+ Usage : "Manage Ethereum presale wallets" ,
36+ ArgsUsage : "" ,
37+ Category : "ACCOUNT COMMANDS" ,
4338 Description : `
44-
45- get wallet import /path/to/my/presale.wallet
39+ geth wallet import /path/to/my/presale.wallet
4640
4741will prompt for your password and imports your ether presale account.
4842It can be used non-interactively with the --password option taking a
4943passwordfile as argument containing the wallet password in plaintext.
5044
51- ` }
45+ ` ,
46+ Subcommands : []cli.Command {
47+ {
48+ Action : importWallet ,
49+ Name : "import" ,
50+ Usage : "Import Ethereum presale wallet" ,
51+ ArgsUsage : "<keyFile>" ,
52+ Description : `
53+ TODO: Please write this
54+ ` ,
55+ },
56+ },
57+ }
5258 accountCommand = cli.Command {
53- Action : accountList ,
54- Name : "account" ,
55- Usage : "manage accounts" ,
59+ Action : accountList ,
60+ Name : "account" ,
61+ Usage : "Manage accounts" ,
62+ ArgsUsage : "" ,
63+ Category : "ACCOUNT COMMANDS" ,
5664 Description : `
57-
5865Manage accounts lets you create new accounts, list all existing accounts,
5966import a private key into a new account.
6067
@@ -86,17 +93,21 @@ And finally. DO NOT FORGET YOUR PASSWORD.
8693` ,
8794 Subcommands : []cli.Command {
8895 {
89- Action : accountList ,
90- Name : "list" ,
91- Usage : "print account addresses" ,
96+ Action : accountList ,
97+ Name : "list" ,
98+ Usage : "Print account addresses" ,
99+ ArgsUsage : " " ,
100+ Description : `
101+ TODO: Please write this
102+ ` ,
92103 },
93104 {
94- Action : accountCreate ,
95- Name : "new" ,
96- Usage : "create a new account" ,
105+ Action : accountCreate ,
106+ Name : "new" ,
107+ Usage : "Create a new account" ,
108+ ArgsUsage : " " ,
97109 Description : `
98-
99- ethereum account new
110+ geth account new
100111
101112Creates a new account. Prints the address.
102113
@@ -106,19 +117,19 @@ You must remember this passphrase to unlock your account in the future.
106117
107118For non-interactive use the passphrase can be specified with the --password flag:
108119
109- ethereum --password <passwordfile> account new
120+ geth --password <passwordfile> account new
110121
111122Note, this is meant to be used for testing only, it is a bad idea to save your
112123password to file or expose in any other way.
113- ` ,
124+ ` ,
114125 },
115126 {
116- Action : accountUpdate ,
117- Name : "update" ,
118- Usage : "update an existing account" ,
127+ Action : accountUpdate ,
128+ Name : "update" ,
129+ Usage : "Update an existing account" ,
130+ ArgsUsage : "<address>" ,
119131 Description : `
120-
121- ethereum account update <address>
132+ geth account update <address>
122133
123134Update an existing account.
124135
@@ -130,19 +141,19 @@ format to the newest format or change the password for an account.
130141
131142For non-interactive use the passphrase can be specified with the --password flag:
132143
133- ethereum --password <passwordfile> account update <address>
144+ geth --password <passwordfile> account update <address>
134145
135146Since only one password can be given, only format update can be performed,
136147changing your password is only possible interactively.
137- ` ,
148+ ` ,
138149 },
139150 {
140- Action : accountImport ,
141- Name : "import" ,
142- Usage : "import a private key into a new account" ,
151+ Action : accountImport ,
152+ Name : "import" ,
153+ Usage : "Import a private key into a new account" ,
154+ ArgsUsage : "<keyFile>" ,
143155 Description : `
144-
145- ethereum account import <keyfile>
156+ geth account import <keyfile>
146157
147158Imports an unencrypted private key from <keyfile> and creates a new account.
148159Prints the address.
@@ -155,13 +166,13 @@ You must remember this passphrase to unlock your account in the future.
155166
156167For non-interactive use the passphrase can be specified with the -password flag:
157168
158- ethereum --password <passwordfile> account import <keyfile>
169+ geth --password <passwordfile> account import <keyfile>
159170
160171Note:
161172As you can directly copy your encrypted accounts to another ethereum instance,
162173this import mechanism is not needed when you transfer an account between
163174nodes.
164- ` ,
175+ ` ,
165176 },
166177 },
167178 }
0 commit comments