From bee302629940bd54369781f26ec123e82f860988 Mon Sep 17 00:00:00 2001 From: Jonathan Gimeno Date: Fri, 15 Sep 2023 11:43:25 +0200 Subject: [PATCH] update query markets --- x/perp/v2/client/cli/query.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {