diff --git a/x/perp/v2/client/cli/query.go b/x/perp/v2/client/cli/query.go index e72d3ee2f..de4a8e464 100644 --- a/x/perp/v2/client/cli/query.go +++ b/x/perp/v2/client/cli/query.go @@ -149,7 +149,9 @@ func CmdQueryMarkets() *cobra.Command { cmd := &cobra.Command{ Use: "markets", Short: "query all market info", - Args: cobra.NoArgs, + Long: "query all market info, including version, if --versioned is set to true all markets will be shown, " + + "active and inactive, otherwise only active markets will be shown", + Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil {