update text (#7130)

This commit is contained in:
Alexander Bezobchuk 2020-08-21 09:17:49 -04:00 committed by GitHub
parent 0234ad324e
commit 22e874a4d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,8 @@ func NewTxCmd() *cobra.Command {
func NewSendTxCmd() *cobra.Command { func NewSendTxCmd() *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "send [from_key_or_address] [to_address] [amount]", Use: "send [from_key_or_address] [to_address] [amount]",
Short: "Create and/or sign and broadcast a MsgSend transaction", Short: `Send funds from one account to another. Note, the'--from' flag is
ignored as it is implied from [from_key_or_address].`,
Args: cobra.ExactArgs(3), Args: cobra.ExactArgs(3),
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
cmd.Flags().Set(flags.FlagFrom, args[0]) cmd.Flags().Set(flags.FlagFrom, args[0])