From 6f6c72a11bd5838048eb3d750401ef3670bb1604 Mon Sep 17 00:00:00 2001 From: Callum Waters Date: Thu, 7 Dec 2023 11:33:04 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Rootul P --- x/upgrade/cli/query.go | 3 +-- x/upgrade/cli/tx.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/x/upgrade/cli/query.go b/x/upgrade/cli/query.go index 6af83c8785..bf0c8a7a0a 100644 --- a/x/upgrade/cli/query.go +++ b/x/upgrade/cli/query.go @@ -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), @@ -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 { diff --git a/x/upgrade/cli/tx.go b/x/upgrade/cli/tx.go index 4e6fb4e6dd..6af7fbb1b0 100644 --- a/x/upgrade/cli/tx.go +++ b/x/upgrade/cli/tx.go @@ -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 {