diff --git a/client/gov/cli/sendtx.go b/client/gov/cli/sendtx.go index 11a294ec2..751c16ba5 100644 --- a/client/gov/cli/sendtx.go +++ b/client/gov/cli/sendtx.go @@ -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}]") diff --git a/docs/cli-client/gov/submit-proposal.md b/docs/cli-client/gov/submit-proposal.md index 29c07a62a..7db3042ad 100644 --- a/docs/cli-client/gov/submit-proposal.md +++ b/docs/cli-client/gov/submit-proposal.md @@ -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 | | diff --git a/docs/zh/cli-client/gov/submit-proposal.md b/docs/zh/cli-client/gov/submit-proposal.md index 7fe042d33..30bc59ca1 100644 --- a/docs/zh/cli-client/gov/submit-proposal.md +++ b/docs/zh/cli-client/gov/submit-proposal.md @@ -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] 新版本协议升级的高度 | |