Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added help info to toggle command #1163

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions x/stakeibc/client/cli/tx_toggle_trade_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ import (

func CmdToggleTradeController() *cobra.Command {
cmd := &cobra.Command{
Use: "toggle-trade-controller [chain-id] [grant|revoke] [address]",
Use: "toggle-trade-controller [trade-chain-id] [grant|revoke] [address]",
Short: "Submits an ICA tx to grant or revoke permissions to trade on behalf of the trade ICA",
Args: cobra.ExactArgs(3),
Long: strings.TrimSpace(`Submits an ICA tx to grant or revoke permissions to trade on behalf of the trade ICA
Ex:
>>> strided tx toggle-trade-controller osmosis-1 grant osmoXXX
`),
Args: cobra.ExactArgs(3),
RunE: func(cmd *cobra.Command, args []string) (err error) {
chainId := args[0]
permissionChangeString := args[1]
Expand Down
Loading