Browse Source

mmgen-txsend: add --verbose option

The MMGen Project 1 year ago
parent
commit
fe040c0688
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mmgen/main_txsend.py

+ 2 - 1
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: