mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
fix: use correct format for pool names in cli help text (#1016)
This commit is contained in:
parent
b2aae00301
commit
0b621770f8
@ -75,9 +75,9 @@ func queryDepositsCmd(queryRoute string, cdc *codec.Codec) *cobra.Command {
|
|||||||
Short: "get liquidity provider deposits",
|
Short: "get liquidity provider deposits",
|
||||||
Long: strings.TrimSpace(`get liquidity provider deposits:
|
Long: strings.TrimSpace(`get liquidity provider deposits:
|
||||||
Example:
|
Example:
|
||||||
$ kvcli q swap deposits --pool bnb/usdx
|
$ kvcli q swap deposits --pool bnb:usdx
|
||||||
$ kvcli q swap deposits --owner kava1l0xsq2z7gqd7yly0g40y5836g0appumark77ny
|
$ kvcli q swap deposits --owner kava1l0xsq2z7gqd7yly0g40y5836g0appumark77ny
|
||||||
$ kvcli q swap deposits --pool bnb/usdx --owner kava1l0xsq2z7gqd7yly0g40y5836g0appumark77ny
|
$ kvcli q swap deposits --pool bnb:usdx --owner kava1l0xsq2z7gqd7yly0g40y5836g0appumark77ny
|
||||||
$ kvcli q swap deposits --page=2 --limit=100
|
$ kvcli q swap deposits --page=2 --limit=100
|
||||||
`,
|
`,
|
||||||
),
|
),
|
||||||
@ -132,7 +132,7 @@ func queryPoolCmd(queryRoute string, cdc *codec.Codec) *cobra.Command {
|
|||||||
Short: "get pool statistics",
|
Short: "get pool statistics",
|
||||||
Long: strings.TrimSpace(`get statistics about a given liquidity pool:
|
Long: strings.TrimSpace(`get statistics about a given liquidity pool:
|
||||||
Example:
|
Example:
|
||||||
$ kvcli q swap pool ukava/usdx`,
|
$ kvcli q swap pool ukava:usdx`,
|
||||||
),
|
),
|
||||||
Args: cobra.ExactArgs(1),
|
Args: cobra.ExactArgs(1),
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user