From 81d37aed014c89467077693711d77e227a32f6b5 Mon Sep 17 00:00:00 2001 From: Raymond Date: Thu, 13 Dec 2018 16:30:44 +0800 Subject: [PATCH] fix docs error --- docs/cli-client/upgrade/query-switch.md | 6 +++--- docs/cli-client/upgrade/submit-switch.md | 4 ++-- docs/software/node.md | 7 +------ docs/zh/cli-client/upgrade/query-switch.md | 6 +++--- docs/zh/cli-client/upgrade/submit-switch.md | 4 ++-- docs/zh/software/node.md | 7 +------ 6 files changed, 12 insertions(+), 22 deletions(-) diff --git a/docs/cli-client/upgrade/query-switch.md b/docs/cli-client/upgrade/query-switch.md index 8f8c00f6f..37da6382c 100644 --- a/docs/cli-client/upgrade/query-switch.md +++ b/docs/cli-client/upgrade/query-switch.md @@ -6,7 +6,7 @@ Query the switch information to know if someone have send the switch message for ## Usage ``` -iriscli upgrade query-switch --proposalID --voter +iriscli upgrade query-switch --proposal-id --voter ``` Print help messages: @@ -18,7 +18,7 @@ iriscli upgrade query-switch --help | Name, shorthand | Default | Description | Required | | --------------- | -------------------------- | ----------------------------------------------------------------- | -------- | -| --proposalID | | proposalID of upgrade swtich being queried | Yes | +| --proposal-id | | proposalID of upgrade swtich being queried | Yes | | --voter | | Address sign the switch msg | Yes | ## Example @@ -26,5 +26,5 @@ iriscli upgrade query-switch --help Query if the address `faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe` send the switch message for the software upgrade proposal whose ID is 5. ``` -iriscli upgrade query-switch --proposalID=5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe +iriscli upgrade query-switch --proposal-id=5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe ``` diff --git a/docs/cli-client/upgrade/submit-switch.md b/docs/cli-client/upgrade/submit-switch.md index 1fd129bc6..0331996aa 100644 --- a/docs/cli-client/upgrade/submit-switch.md +++ b/docs/cli-client/upgrade/submit-switch.md @@ -19,7 +19,7 @@ iriscli upgrade submit-switch --help | Name, shorthand | Default | Description | Required | | --------------- | --------- | ------------------------------------------------------------ | -------- | -| --proposalID | | proposalID of upgrade proposal | Yes | +| --proposal-id | | proposalID of upgrade proposal | Yes | | --title | | title of switch | | ## Examples @@ -27,5 +27,5 @@ iriscli upgrade submit-switch --help Send a switch message for the software upgrade proposal whose `proposalID` is 5. ``` -iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposalID 5 --title="Run new verison" +iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposal-id 5 --title="Run new verison" ``` diff --git a/docs/software/node.md b/docs/software/node.md index 06cbf7524..3512df7cd 100644 --- a/docs/software/node.md +++ b/docs/software/node.md @@ -50,12 +50,7 @@ Then you could see the account info has been added to genesis.json. "accounts":[ { "address": "faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju", - "coins": [ - { - "denom": "iris-atto", - "amount": "150000000000000000000" - } - ], + "coins": ["150iris"], "sequence_number": "0", "account_number": "0" } diff --git a/docs/zh/cli-client/upgrade/query-switch.md b/docs/zh/cli-client/upgrade/query-switch.md index 7a7154894..a263c0e89 100644 --- a/docs/zh/cli-client/upgrade/query-switch.md +++ b/docs/zh/cli-client/upgrade/query-switch.md @@ -7,7 +7,7 @@ ## 用法 ``` -iriscli upgrade query-switch --proposalID --voter +iriscli upgrade query-switch --proposal-id --voter ``` 打印帮助信息: @@ -19,7 +19,7 @@ iriscli upgrade query-switch --help | 名称, 速记 | 默认值 | 描述 | 必需 | | --------------- | -------------------------- | ----------------------------------------------------------------- | -------- | -| --proposalID | | 软件升级提议的ID | 是 | +| --proposal-id | | 软件升级提议的ID | 是 | | --voter | | 签名switch消息的地址 | 是 | ## 例子 @@ -27,5 +27,5 @@ iriscli upgrade query-switch --help 查询用户`faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe`是否对升级提议(ID为5)发送了switch消息 ``` -iriscli upgrade query-switch --proposalID=5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe +iriscli upgrade query-switch --proposal-id=5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe ``` diff --git a/docs/zh/cli-client/upgrade/submit-switch.md b/docs/zh/cli-client/upgrade/submit-switch.md index 1c5fe545e..adf2eeb1e 100644 --- a/docs/zh/cli-client/upgrade/submit-switch.md +++ b/docs/zh/cli-client/upgrade/submit-switch.md @@ -18,7 +18,7 @@ iriscli upgrade submit-switch --help | 名称, 缩写 | 默认值 | 描述 | 必需 | | --------------- | --------- | ------------------------------------------------------------ | -------- | -| --proposalID | | 软件升级提议的ID | 是 | +| --proposal-id | | 软件升级提议的ID | 是 | | --title | | switch消息对标题 | | ## 用例 @@ -26,5 +26,5 @@ iriscli upgrade submit-switch --help 发送对软件升级提议(ID为5)switch消息 ``` -iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposalID 5 --title="Run new verison" +iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposal-id 5 --title="Run new verison" ``` diff --git a/docs/zh/software/node.md b/docs/zh/software/node.md index 3d996cec8..675ba7278 100644 --- a/docs/zh/software/node.md +++ b/docs/zh/software/node.md @@ -51,12 +51,7 @@ iris add-genesis-account faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju 150iris "accounts": [ { "address": "faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju", - "coins": [ - { - "denom": "iris-atto", - "amount": "150000000000000000000" - } - ], + "coins": ["150iris"], "sequence_number": "0", "account_number": "0" }