Skip to content

Commit

Permalink
Merge pull request #841 from MrXJC/jiacheng/refactor
Browse files Browse the repository at this point in the history
R4R: Fix the gov cli proposal type
  • Loading branch information
wukongcheng authored Dec 17, 2018
2 parents b9d6b11 + 561e36e commit 9e7b165
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/gov/cli/sendtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func GetCmdSubmitProposal(cdc *codec.Codec) *cobra.Command {

cmd.Flags().String(flagTitle, "", "title of proposal")
cmd.Flags().String(flagDescription, "", "description of proposal")
cmd.Flags().String(flagProposalType, "", "proposalType of proposal,eg:Text/ParameterChange/SoftwareUpgrade")
cmd.Flags().String(flagProposalType, "", "proposalType of proposal,eg:Text/ParameterChange/SoftwareUpgrade/SoftwareHalt/TxTaxUsage")
cmd.Flags().String(flagDeposit, "", "deposit of proposal")
//////////////////// iris begin ///////////////////////////
cmd.Flags().String(flagParam, "", "parameter of proposal,eg. [{key:key,value:value,op:update}]")
Expand Down
2 changes: 1 addition & 1 deletion docs/cli-client/gov/submit-proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ iriscli gov submit-proposal --help
| --param | | [string] Parameter of proposal,eg. [{key:key,value:value,op:update}] | |
| --path | | [string] The path of param.json | |
| --title | | [string] Title of proposal | Yes |
| --type | | [string] ProposalType of proposal,eg:Text/ParameterChange/SoftwareUpgrade | Yes |
| --type | | [string] ProposalType of proposal,eg:Text/ParameterChange/SoftwareUpgrade/SoftwareHalt/TxTaxUsage | Yes |
| --version | 0 | [uint64] the version of the new protocol | |
| --software | " " | [string] the software of the new protocol | |
| --switch-height | 0 | [string] the switchheight of the new protocol | |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/cli-client/gov/submit-proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ iriscli gov submit-proposal --help
| --param | | [string] 提议参数,例如: [{key:key,value:value,op:update}] | |
| --path | | [string] param.json文件路径 | |
| --title | | [string] 提议标题 | Yes |
| --type | | [string] 提议类型,例如:Text/ParameterChange/SoftwareUpgrade | Yes |
| --type | | [string] 提议类型,例如:Text/ParameterChange/SoftwareUpgrade/SoftwareHalt/TxTaxUsage | Yes |
| --version | 0 | [uint64] 新协议的版本信息 | |
| --software | " " | [string] 新协议的软件地址 | |
| --switch-height | 0 | [string] 新版本协议升级的高度 | |
Expand Down

0 comments on commit 9e7b165

Please sign in to comment.