tendermint init to get the moniker

This commit is contained in:
Jae Kwon
2015-05-12 18:29:00 -07:00
parent 85c8850ac2
commit dd3d35f9f1
2 changed files with 45 additions and 12 deletions

View File

@@ -16,6 +16,7 @@ func main() {
fmt.Println(`Tendermint
Commands:
init Initialize the TMROOT directory
node Run the tendermint node
gen_account Generate new account keypair
gen_validator Generate new validator keypair
@@ -26,6 +27,9 @@ Commands:
}
switch args[0] {
case "init":
config.ParseFlags(args[1:])
logger.Reset()
case "node":
config.ParseFlags(args[1:])
logger.Reset()