diff --git a/cli_test/test_helpers.go b/cli_test/test_helpers.go index a8434a3919..ac72c039f0 100644 --- a/cli_test/test_helpers.go +++ b/cli_test/test_helpers.go @@ -475,7 +475,7 @@ func (f *Fixtures) TxProfileRequestDTagTransfer(owner, from sdk.AccAddress, flag } func (f *Fixtures) TxProfileAcceptDTagTransfer(newDtag string, receiver, from sdk.AccAddress, flags ...string) (bool, string, string) { - cmd := fmt.Sprintf(`%s tx profiles accept-dtag-transfer.md %s %s --keyring-backend=test --from=%s %v`, + cmd := fmt.Sprintf(`%s tx profiles accept-dtag-transfer %s %s --keyring-backend=test --from=%s %v`, f.DesmoscliBinary, newDtag, receiver, from, f.Flags()) return executeWriteRetStdStreams(f.T, addFlags(cmd, flags), clientkeys.DefaultKeyPass) } diff --git a/x/profiles/client/cli/tx.go b/x/profiles/client/cli/tx.go index b1c73b5d9d..b8f4e72a89 100644 --- a/x/profiles/client/cli/tx.go +++ b/x/profiles/client/cli/tx.go @@ -135,7 +135,7 @@ func GetCmdRequestDTagTransfer(cdc *codec.Codec) *cobra.Command { // GetCmdAcceptDTagTransfer is the CLI command to accept the request to transfer a dTag func GetCmdAcceptDTagTransfer(cdc *codec.Codec) *cobra.Command { cmd := &cobra.Command{ - Use: "accept-dtag-transfer.md [newDTag] [address]", + Use: "accept-dtag-transfer [newDTag] [address]", Short: "Accept a DTag transfer request made by the user with the given address", Args: cobra.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) error {