fix example cli liquidate cmd (#760)

This commit is contained in:
Denali Marsh 2021-01-11 21:50:00 +01:00 committed by GitHub
parent bc110ce609
commit a0d70e1c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,7 +182,7 @@ func getCmdLiquidate(cdc *codec.Codec) *cobra.Command {
Long: strings.TrimSpace(`liquidate a borrower that's over their loan-to-value ratio`),
Args: cobra.ExactArgs(1),
Example: fmt.Sprintf(
`%s tx %s borrow kava1hgcfsuwc889wtdmt8pjy7qffua9dd2tralu64j --from <key>`, version.ClientName, types.ModuleName,
`%s tx %s liquidate kava1hgcfsuwc889wtdmt8pjy7qffua9dd2tralu64j --from <key>`, version.ClientName, types.ModuleName,
),
RunE: func(cmd *cobra.Command, args []string) error {
inBuf := bufio.NewReader(cmd.InOrStdin())