Skip to content

Commit afb6771

Browse files
fix inconsistent flag names in upgrade proposal command (#7697)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent bd9af94 commit afb6771

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
4040

4141
* (x/staking) [\#7499](https://github.com/cosmos/cosmos-sdk/pull/7499) `BondStatus` is now a protobuf `enum` instead of an `int32`, and JSON serialized using its protobuf name, so expect names like `BOND_STATUS_UNBONDING` as opposed to `Unbonding`.
4242
* (x/evidence) [\#7538](https://github.com/cosmos/cosmos-sdk/pull/7538) The ABCI's `Result.Data` field of `MsgSubmitEvidence` does not contain the raw evidence's hash, but the encoded `MsgSubmitEvidenceResponse` struct.
43+
* (x/upgrade) [#7697](https://github.com/cosmos/cosmos-sdk/pull/7697) Rename flag name "--time" to "--upgrade-time", "--info" to "--upgrade-info", to keep it consistent with help message.
4344

4445
### API Breaking
4546

x/upgrade/client/cli/tx.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const (
1919
TimeFormat = "2006-01-02T15:04:05Z"
2020

2121
FlagUpgradeHeight = "upgrade-height"
22-
FlagUpgradeTime = "time"
23-
FlagUpgradeInfo = "info"
22+
FlagUpgradeTime = "upgrade-time"
23+
FlagUpgradeInfo = "upgrade-info"
2424
)
2525

2626
// GetTxCmd returns the transaction commands for this module

0 commit comments

Comments
 (0)