Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rootul P <[email protected]>
  • Loading branch information
cmwaters and rootulp authored Dec 7, 2023
1 parent 03f5b9b commit 6f6c72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions x/upgrade/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (

// GetQueryCmd returns the CLI query commands for this module
func GetQueryCmd() *cobra.Command {
// Group blob queries under a subcommand
cmd := &cobra.Command{
Use: types.ModuleName,
Short: fmt.Sprintf("Querying commands for the %s module", types.ModuleName),
Expand All @@ -28,7 +27,7 @@ func GetQueryCmd() *cobra.Command {

func CmdQueryTally() *cobra.Command {
cmd := &cobra.Command{
Use: "tally [version]",
Use: "tally version",
Short: "Query the tally of signal votes for a given version",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
2 changes: 1 addition & 1 deletion x/upgrade/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func GetTxCmd() *cobra.Command {

func CmdSignalVersion() *cobra.Command {
cmd := &cobra.Command{
Use: "signal [version]",
Use: "signal version",
Short: "Signal a software upgrade for the specified version",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 6f6c72a

Please sign in to comment.