From 15411c83472839f5944461dd84a0c8813d6809be Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Sun, 29 Jan 2023 16:10:36 +0000 Subject: [PATCH] mmgen-{txcreate,txdo}: change `--locktime` short opt from `-L` to `-l` - this breaks compatibility, scripts may need to be adjusted --- mmgen/main_split.py | 2 +- mmgen/main_txcreate.py | 2 +- mmgen/main_txdo.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mmgen/main_split.py b/mmgen/main_split.py index 422f6b1c..9ef72c36 100755 --- a/mmgen/main_split.py +++ b/mmgen/main_split.py @@ -48,7 +48,7 @@ opts_data = { -v, --verbose Produce more verbose output -y, --yes Answer 'yes' to prompts, suppress non-essential output -R, --rpc-host2= h Host the other coin daemon is running on (default: none) --L, --locktime= t Lock time (block height or unix seconds) +-l, --locktime= t Lock time (block height or unix seconds) (default: {bh}) """, 'notes': f"""\n diff --git a/mmgen/main_txcreate.py b/mmgen/main_txcreate.py index da532ddf..aeb7a3d4 100755 --- a/mmgen/main_txcreate.py +++ b/mmgen/main_txcreate.py @@ -49,7 +49,7 @@ opts_data = { -I, --inputs= i Specify transaction inputs (comma-separated list of MMGen IDs or coin addresses). Note that ALL unspent outputs associated with each address will be included. --L, --locktime= t Lock time (block height or unix seconds) (default: 0) +-l, --locktime= t Lock time (block height or unix seconds) (default: 0) -m, --minconf= n Minimum number of confirmations required to spend outputs (default: 1) -q, --quiet Suppress warnings; overwrite files without prompting diff --git a/mmgen/main_txdo.py b/mmgen/main_txdo.py index 8b682286..bcda79a6 100755 --- a/mmgen/main_txdo.py +++ b/mmgen/main_txdo.py @@ -61,7 +61,7 @@ opts_data = { -k, --keys-from-file=f Provide additional keys for non-{pnm} addresses -K, --keygen-backend=n Use backend 'n' for public key generation. Options for {coin_id}: {kgs} --L, --locktime= t Lock time (block height or unix seconds) (default: 0) +-l, --locktime= t Lock time (block height or unix seconds) (default: 0) -m, --minconf=n Minimum number of confirmations required to spend outputs (default: 1) -M, --mmgen-keys-from-file=f Provide keys for {pnm} addresses in a key-