From 3c18c33e9287b4d48d6beeed734771ce768c08b9 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Thu, 15 Jun 2017 20:29:26 +0200 Subject: [PATCH] Fix basecli --chainid to --chain-id --- clitest/basictx.sh | 2 +- cmd/basecli/LIGHT_NODE.md | 2 +- cmd/basecli/README.md | 2 +- glide.lock | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clitest/basictx.sh b/clitest/basictx.sh index e5e159a334..cbb15b4341 100755 --- a/clitest/basictx.sh +++ b/clitest/basictx.sh @@ -66,7 +66,7 @@ initServer() { initClient() { echo "Attaching client..." # hard-code the expected validator hash - basecli init --chainid=test_chain_id --node=tcp://localhost:46657 --valhash=EB168E17E45BAEB194D4C79067FFECF345C64DE6 + basecli init --chain-id=test_chain_id --node=tcp://localhost:46657 --valhash=EB168E17E45BAEB194D4C79067FFECF345C64DE6 assertTrue "initialized light-client" $? } diff --git a/cmd/basecli/LIGHT_NODE.md b/cmd/basecli/LIGHT_NODE.md index bb58ebb19d..002c96cdf7 100644 --- a/cmd/basecli/LIGHT_NODE.md +++ b/cmd/basecli/LIGHT_NODE.md @@ -21,7 +21,7 @@ Just initialize your client with the proper validator set as in the [README](REA ``` $ export BCHOME=~/.lightnode -$ basecli init --node tcp://: --chainid +$ basecli init --node tcp://: --chain-id ``` ## Running diff --git a/cmd/basecli/README.md b/cmd/basecli/README.md index efa737512b..6e00f3d851 100644 --- a/cmd/basecli/README.md +++ b/cmd/basecli/README.md @@ -40,7 +40,7 @@ $ basecoin start ## Connect your basecli the first time ``` -% basecli init --chainid test_chain_id --node tcp://localhost:46657 +% basecli init --chain-id test_chain_id --node tcp://localhost:46657 ``` ## Check your balances... diff --git a/glide.lock b/glide.lock index a83da11261..38df58154d 100644 --- a/glide.lock +++ b/glide.lock @@ -127,7 +127,7 @@ imports: - data - data/base58 - name: github.com/tendermint/light-client - version: 83bede2a7f150fc7f8aedde1aecd30d2bdf043e8 + version: 4ad913f2728307ec13a3b602b040c29b6a2117b8 subpackages: - certifiers - certifiers/client