re-add type=SortKey for click 8 (#13663)

This commit is contained in:
Earle Lowe 2022-10-19 12:33:42 -07:00 committed by GitHub
parent 4dfa87c31b
commit fa72e1e3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,12 +74,14 @@ def get_transaction_cmd(wallet_rpc_port: Optional[int], fingerprint: int, id: in
"--sort-by-height",
"sort_key",
flag_value=SortKey.CONFIRMED_AT_HEIGHT,
type=SortKey,
help="Sort transactions by height",
)
@click.option(
"--sort-by-relevance",
"sort_key",
flag_value=SortKey.RELEVANCE,
type=SortKey,
default=True,
help="Sort transactions by {confirmed, height, time}",
)