Skip to content

Commit 81d37ae

Browse files
committed
fix docs error
1 parent 0d81116 commit 81d37ae

File tree

6 files changed

+12
-22
lines changed

6 files changed

+12
-22
lines changed

docs/cli-client/upgrade/query-switch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Query the switch information to know if someone have send the switch message for
66
## Usage
77

88
```
9-
iriscli upgrade query-switch --proposalID <proposalID> --voter <voter address>
9+
iriscli upgrade query-switch --proposal-id <proposalID> --voter <voter address>
1010
```
1111

1212
Print help messages:
@@ -18,13 +18,13 @@ iriscli upgrade query-switch --help
1818

1919
| Name, shorthand | Default | Description | Required |
2020
| --------------- | -------------------------- | ----------------------------------------------------------------- | -------- |
21-
| --proposalID | | proposalID of upgrade swtich being queried | Yes |
21+
| --proposal-id | | proposalID of upgrade swtich being queried | Yes |
2222
| --voter | | Address sign the switch msg | Yes |
2323

2424
## Example
2525

2626
Query if the address `faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe` send the switch message for the software upgrade proposal whose ID is 5.
2727

2828
```
29-
iriscli upgrade query-switch --proposalID=5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe
29+
iriscli upgrade query-switch --proposal-id=5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe
3030
```

docs/cli-client/upgrade/submit-switch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ iriscli upgrade submit-switch --help
1919

2020
| Name, shorthand | Default | Description | Required |
2121
| --------------- | --------- | ------------------------------------------------------------ | -------- |
22-
| --proposalID | | proposalID of upgrade proposal | Yes |
22+
| --proposal-id | | proposalID of upgrade proposal | Yes |
2323
| --title | | title of switch | |
2424

2525
## Examples
2626

2727
Send a switch message for the software upgrade proposal whose `proposalID` is 5.
2828

2929
```
30-
iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposalID 5 --title="Run new verison"
30+
iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposal-id 5 --title="Run new verison"
3131
```

docs/software/node.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@ Then you could see the account info has been added to genesis.json.
5050
"accounts":[
5151
{
5252
"address": "faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju",
53-
"coins": [
54-
{
55-
"denom": "iris-atto",
56-
"amount": "150000000000000000000"
57-
}
58-
],
53+
"coins": ["150iris"],
5954
"sequence_number": "0",
6055
"account_number": "0"
6156
}

docs/zh/cli-client/upgrade/query-switch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## 用法
88

99
```
10-
iriscli upgrade query-switch --proposalID <proposalID> --voter <voter address>
10+
iriscli upgrade query-switch --proposal-id <proposalID> --voter <voter address>
1111
```
1212
打印帮助信息:
1313

@@ -19,13 +19,13 @@ iriscli upgrade query-switch --help
1919

2020
| 名称, 速记 | 默认值 | 描述 | 必需 |
2121
| --------------- | -------------------------- | ----------------------------------------------------------------- | -------- |
22-
| --proposalID | | 软件升级提议的ID ||
22+
| --proposal-id | | 软件升级提议的ID ||
2323
| --voter | | 签名switch消息的地址 ||
2424

2525
## 例子
2626

2727
查询用户`faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe`是否对升级提议(ID为5)发送了switch消息
2828

2929
```
30-
iriscli upgrade query-switch --proposalID=5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe
30+
iriscli upgrade query-switch --proposal-id=5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe
3131
```

docs/zh/cli-client/upgrade/submit-switch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ iriscli upgrade submit-switch --help
1818

1919
| 名称, 缩写 | 默认值 | 描述 | 必需 |
2020
| --------------- | --------- | ------------------------------------------------------------ | -------- |
21-
| --proposalID | | 软件升级提议的ID ||
21+
| --proposal-id | | 软件升级提议的ID ||
2222
| --title | | switch消息对标题 | |
2323

2424
## 用例
2525

2626
发送对软件升级提议(ID为5)switch消息
2727

2828
```
29-
iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposalID 5 --title="Run new verison"
29+
iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposal-id 5 --title="Run new verison"
3030
```

docs/zh/software/node.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,7 @@ iris add-genesis-account faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju 150iris
5151
"accounts": [
5252
{
5353
"address": "faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju",
54-
"coins": [
55-
{
56-
"denom": "iris-atto",
57-
"amount": "150000000000000000000"
58-
}
59-
],
54+
"coins": ["150iris"],
6055
"sequence_number": "0",
6156
"account_number": "0"
6257
}

0 commit comments

Comments
 (0)