From fe040c0688196051355285f768077a6f03255d59 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Wed, 28 Feb 2024 16:58:12 +0000 Subject: [PATCH] mmgen-txsend: add --verbose option --- mmgen/main_txsend.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mmgen/main_txsend.py b/mmgen/main_txsend.py index e1e3a0c0..53a29f4d 100755 --- a/mmgen/main_txsend.py +++ b/mmgen/main_txsend.py @@ -36,6 +36,7 @@ opts_data = { -d, --outdir= d Specify an alternate directory 'd' for output -q, --quiet Suppress warnings; overwrite files without prompting -s, --status Get status of a sent transaction +-v, --verbose Be more verbose -y, --yes Answer 'yes' to prompts, suppress non-essential output """ } @@ -66,7 +67,7 @@ async def main(): from .rpc import rpc_init tx.rpc = await rpc_init(cfg,tx.proto) - cfg._util.vmsg(f'Signed transaction file {infile!r} is valid') + cfg._util.vmsg(f'Getting {tx.desc} ‘{tx.infile}’') if cfg.status: if tx.coin_txid: