Skip to content

Commit

Permalink
get-transaction: -t, --transaction flags
Browse files Browse the repository at this point in the history
Signed-off-by: Ciro S. Costa <[email protected]>
  • Loading branch information
cirocosta committed Jul 31, 2021
1 parent 07bb172 commit 4ee9f9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/monero/commands/daemon/get_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ func (c *getTransactionCommand) Cmd() *cobra.Command {
RunE: c.RunE,
}

cmd.Flags().StringVar(&c.Txn, "txn",
cmd.Flags().StringVarP(&c.Txn, "transaction", "t",
"", "hash of a transaction to lookup")
_ = cmd.MarkFlagRequired("txn")
_ = cmd.MarkFlagRequired("transaction")

cmd.Flags().BoolVar(&c.JSON, "json",
false, "whether or not to output the result as json")
Expand Down

0 comments on commit 4ee9f9d

Please sign in to comment.