瀏覽代碼

add usage doc to wallet import

zelig 10 年之前
父節點
當前提交
d92172f3d4
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. 9 1
      cmd/geth/main.go

+ 9 - 1
cmd/geth/main.go

@@ -99,7 +99,15 @@ The output of this command is supposed to be machine-readable.
 					Usage:  "import ethereum presale wallet",
 				},
 			},
-		},
+			Description: `
+
+    get wallet import /path/to/my/presale.wallet
+
+will prompt for your password and imports your ether presale account.
+It can be used non-interactively with the --password option taking a
+passwordfile as argument containing the wallet password in plaintext.
+
+`},
 		{
 			Action: accountList,
 			Name:   "account",