Skip to content

Commit 13ed620

Browse files
add actual parameter example to denom-trace and denom-hash CLI queries (backport #1442) (#1457)
* add actual parameter example to denom-trace and denom-hash CLI queries (#1442) (cherry picked from commit 8062d01) # Conflicts: # modules/apps/transfer/client/cli/query.go * fix conflict Co-authored-by: Carlos Rodriguez <[email protected]>
1 parent a90b700 commit 13ed620

File tree

1 file changed

+2
-2
lines changed
  • modules/apps/transfer/client/cli

1 file changed

+2
-2
lines changed

modules/apps/transfer/client/cli/query.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func GetCmdQueryDenomTrace() *cobra.Command {
1717
Use: "denom-trace [hash]",
1818
Short: "Query the denom trace info from a given trace hash",
1919
Long: "Query the denom trace info from a given trace hash",
20-
Example: fmt.Sprintf("%s query ibc-transfer denom-trace [hash]", version.AppName),
20+
Example: fmt.Sprintf("%s query ibc-transfer denom-trace 27A6394C3F9FF9C9DCF5DFFADF9BB5FE9A37C7E92B006199894CF1824DF9AC7C", version.AppName),
2121
Args: cobra.ExactArgs(1),
2222
RunE: func(cmd *cobra.Command, args []string) error {
2323
clientCtx, err := client.GetClientQueryContext(cmd)
@@ -138,7 +138,7 @@ func GetCmdQueryDenomHash() *cobra.Command {
138138
Use: "denom-hash [trace]",
139139
Short: "Query the denom hash info from a given denom trace",
140140
Long: "Query the denom hash info from a given denom trace",
141-
Example: fmt.Sprintf("%s query ibc-transfer denom-hash [denom_trace]", version.AppName),
141+
Example: fmt.Sprintf("%s query ibc-transfer denom-hash transfer/channel-0/uatom", version.AppName),
142142
Args: cobra.ExactArgs(1),
143143
RunE: func(cmd *cobra.Command, args []string) error {
144144
clientCtx, err := client.GetClientQueryContext(cmd)

0 commit comments

Comments
 (0)