Przeglądaj źródła

add usage doc to wallet import

zelig 10 lat temu
rodzic
commit
d92172f3d4
1 zmienionych plików z 9 dodań i 1 usunięć
  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",