From 66521a07f21035550424dbc9bba5582a3a95680d Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Tue, 8 Oct 2024 12:55:58 +0000 Subject: [PATCH] update --longhelp text --- examples/halving-calculator.py | 2 +- mmgen/main_addrgen.py | 2 +- mmgen/main_addrimport.py | 2 +- mmgen/main_autosign.py | 2 +- mmgen/main_msg.py | 2 +- mmgen/main_passgen.py | 2 +- mmgen/main_regtest.py | 2 +- mmgen/main_seedjoin.py | 2 +- mmgen/main_split.py | 2 +- mmgen/main_tool.py | 2 +- mmgen/main_txbump.py | 2 +- mmgen/main_txcreate.py | 2 +- mmgen/main_txdo.py | 2 +- mmgen/main_txsend.py | 2 +- mmgen/main_txsign.py | 2 +- mmgen/main_wallet.py | 2 +- mmgen/main_xmrwallet.py | 3 +-- test/clean.py | 2 +- test/cmdtest.py | 2 +- test/gentest.py | 2 +- test/include/coin_daemon_control.py | 2 +- test/misc/opts_main.py | 2 +- test/objattrtest.py | 2 +- test/objtest.py | 2 +- test/scrambletest.py | 2 +- test/tooltest.py | 2 +- test/tooltest2.py | 2 +- 27 files changed, 27 insertions(+), 28 deletions(-) diff --git a/examples/halving-calculator.py b/examples/halving-calculator.py index f28592f5..91791ba5 100755 --- a/examples/halving-calculator.py +++ b/examples/halving-calculator.py @@ -23,7 +23,7 @@ opts_data = { 'usage':'[opts]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -s, --sample-size=N Specify sample block range for block discovery time estimate """, diff --git a/mmgen/main_addrgen.py b/mmgen/main_addrgen.py index 153253dd..193267fb 100755 --- a/mmgen/main_addrgen.py +++ b/mmgen/main_addrgen.py @@ -49,7 +49,7 @@ opts_data = { 'usage':'[opts] [seed source] ', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -A, --no-addresses Print only secret keys, no addresses -c, --print-checksum Print address list checksum and exit -d, --outdir= d Output files to directory 'd' instead of working dir diff --git a/mmgen/main_addrimport.py b/mmgen/main_addrimport.py index e664db8c..2c1d138c 100755 --- a/mmgen/main_addrimport.py +++ b/mmgen/main_addrimport.py @@ -32,7 +32,7 @@ opts_data = { 'usage':'[opts] [MMGen address file]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -a, --address=a Import the single coin address 'a' -b, --batch Import all addresses in one RPC call -l, --addrlist Address source is a flat list of non-MMGen coin addresses diff --git a/mmgen/main_autosign.py b/mmgen/main_autosign.py index ffd54e6b..7515e5f9 100755 --- a/mmgen/main_autosign.py +++ b/mmgen/main_autosign.py @@ -33,7 +33,7 @@ opts_data = { 'usage':'[opts] [operation]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -c, --coins=c Coins to sign for (comma-separated list) -I, --no-insert-check Don’t check for device insertion -l, --seed-len=N Specify wallet seed length of ‘N’ bits (for setup only) diff --git a/mmgen/main_msg.py b/mmgen/main_msg.py index 8d290056..d1cc0c0c 100755 --- a/mmgen/main_msg.py +++ b/mmgen/main_msg.py @@ -102,7 +102,7 @@ opts_data = { ], 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -d, --outdir=d Output file to directory 'd' instead of working dir -t, --msghash-type=T Specify the message hash type. Supported values: 'eth_sign' (ETH default), 'raw' (non-ETH default) diff --git a/mmgen/main_passgen.py b/mmgen/main_passgen.py index 3ff376d6..c609f211 100755 --- a/mmgen/main_passgen.py +++ b/mmgen/main_passgen.py @@ -42,7 +42,7 @@ opts_data = { 'usage':'[opts] [seed source] ', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -d, --outdir= d Output files to directory 'd' instead of working dir -e, --echo-passphrase Echo passphrase or mnemonic to screen upon entry -f, --passwd-fmt= f Generate passwords of format 'f'. Default: {pl.dfl_pw_fmt}. diff --git a/mmgen/main_regtest.py b/mmgen/main_regtest.py index 61abe7bc..b39f4670 100755 --- a/mmgen/main_regtest.py +++ b/mmgen/main_regtest.py @@ -31,7 +31,7 @@ opts_data = { 'usage': '[opts] ', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -b, --bdb-wallet Create and use a legacy Berkeley DB coin daemon wallet -e, --empty Don't fund Bob and Alice's wallets on setup -n, --setup-no-stop-daemon Don't stop daemon after setup is finished diff --git a/mmgen/main_seedjoin.py b/mmgen/main_seedjoin.py index c2debdba..55be82f1 100755 --- a/mmgen/main_seedjoin.py +++ b/mmgen/main_seedjoin.py @@ -35,7 +35,7 @@ opts_data = { 'usage': '[options] share1 share2 [...shareN]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -d, --outdir= d Output file to directory 'd' instead of working dir -e, --echo-passphrase Echo passphrases and other user input to screen -i, --id-str= s ID String of split (required for master share join only) diff --git a/mmgen/main_split.py b/mmgen/main_split.py index 7c6a1418..9d307056 100755 --- a/mmgen/main_split.py +++ b/mmgen/main_split.py @@ -35,7 +35,7 @@ opts_data = { 'usage':'[opts] [output addr1] [output addr2]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -f, --tx-fees= f The transaction fees for each chain (comma-separated) -c, --other-coin= c The coin symbol of the other chain (default: {oc}) -B, --no-blank Don't blank screen before displaying unspent outputs diff --git a/mmgen/main_tool.py b/mmgen/main_tool.py index 646a734f..52783ea5 100755 --- a/mmgen/main_tool.py +++ b/mmgen/main_tool.py @@ -32,7 +32,7 @@ opts_data = { 'options': """ -d, --outdir= d Specify an alternate directory 'd' for output -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -e, --echo-passphrase Echo passphrase or mnemonic to screen upon entry -k, --use-internal-keccak-module Force use of the internal keccak module -K, --keygen-backend=n Use backend 'n' for public key generation. Options diff --git a/mmgen/main_txbump.py b/mmgen/main_txbump.py index e4dd90e2..00957a90 100755 --- a/mmgen/main_txbump.py +++ b/mmgen/main_txbump.py @@ -36,7 +36,7 @@ opts_data = { 'usage': f'[opts] [{gc.proj_name} TX file] [seed source] ...', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -a, --autosign Bump the most recent transaction created and sent with the --autosign option. The removable device is mounted and unmounted automatically. The transaction file diff --git a/mmgen/main_txcreate.py b/mmgen/main_txcreate.py index 610ed714..0efabcb0 100755 --- a/mmgen/main_txcreate.py +++ b/mmgen/main_txcreate.py @@ -31,7 +31,7 @@ opts_data = { 'usage': '[opts] [ ...] [addr file ...]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -a, --autosign Create a transaction for offline autosigning (see ‘mmgen-autosign’). The removable device is mounted and unmounted automatically diff --git a/mmgen/main_txdo.py b/mmgen/main_txdo.py index 2816a226..13cb841c 100755 --- a/mmgen/main_txdo.py +++ b/mmgen/main_txdo.py @@ -32,7 +32,7 @@ opts_data = { '[seed source ...]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -A, --fee-adjust= f Adjust transaction fee by factor 'f' (see below) -b, --brain-params=l,p Use seed length 'l' and hash preset 'p' for brainwallet input diff --git a/mmgen/main_txsend.py b/mmgen/main_txsend.py index a78e0c91..0ca01da4 100755 --- a/mmgen/main_txsend.py +++ b/mmgen/main_txsend.py @@ -35,7 +35,7 @@ opts_data = { 'usage': '[opts] [signed transaction file]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -a, --autosign Send an autosigned transaction created by ‘mmgen-txcreate --autosign’. The removable device is mounted and unmounted automatically. The transaction file argument must be omitted diff --git a/mmgen/main_txsign.py b/mmgen/main_txsign.py index 6bb29dcc..cec5e6d7 100755 --- a/mmgen/main_txsign.py +++ b/mmgen/main_txsign.py @@ -33,7 +33,7 @@ opts_data = { 'usage': '[opts] ... [seed source]...', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -b, --brain-params=l,p Use seed length 'l' and hash preset 'p' for brainwallet input -d, --outdir= d Specify an alternate directory 'd' for output diff --git a/mmgen/main_wallet.py b/mmgen/main_wallet.py index 52bc9770..422f5a7c 100755 --- a/mmgen/main_wallet.py +++ b/mmgen/main_wallet.py @@ -85,7 +85,7 @@ opts_data = { 'usage': usage, 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -d, --outdir= d Output files to directory 'd' instead of working dir -e, --echo-passphrase Echo passphrases and other user input to screen -f, --force-update Force update of wallet even if nothing has changed diff --git a/mmgen/main_xmrwallet.py b/mmgen/main_xmrwallet.py index c4360acc..a57c47e2 100755 --- a/mmgen/main_xmrwallet.py +++ b/mmgen/main_xmrwallet.py @@ -54,8 +54,7 @@ opts_data = { ], 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common - options) +--, --longhelp Print help message for long (global) options -a, --autosign Use appropriate outdir and other params for autosigning operations (implies --watch-only). When this option is in effect, filename argu- diff --git a/test/clean.py b/test/clean.py index 3d2e66aa..bffa2a06 100755 --- a/test/clean.py +++ b/test/clean.py @@ -26,7 +26,7 @@ opts_data = { 'usage':'[options]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options """, }, } diff --git a/test/cmdtest.py b/test/cmdtest.py index 5287914d..74dd8dd5 100755 --- a/test/cmdtest.py +++ b/test/cmdtest.py @@ -119,7 +119,7 @@ opts_data = { 'usage':'[options] [command [..command]] | [command_group[.command_subgroup][:command]]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -a, --no-altcoin Skip altcoin tests (WIP) -A, --no-daemon-autostart Don't start and stop daemons automatically -B, --bech32 Generate and use Bech32 addresses diff --git a/test/gentest.py b/test/gentest.py index 48848fe3..7ad6a16f 100755 --- a/test/gentest.py +++ b/test/gentest.py @@ -41,7 +41,7 @@ opts_data = { 'usage':'[options] ', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -a, --all-coins Test all coins supported by specified external tool -k, --use-internal-keccak-module Force use of the internal keccak module -q, --quiet Produce quieter output diff --git a/test/include/coin_daemon_control.py b/test/include/coin_daemon_control.py index 411a93e4..b09f7ec8 100755 --- a/test/include/coin_daemon_control.py +++ b/test/include/coin_daemon_control.py @@ -36,7 +36,7 @@ opts_data = { 'usage':'[opts] ', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -D, --debug Produce debugging output (implies --verbose) -d, --datadir= Override the default datadir -i, --daemon-ids Print all known daemon IDs diff --git a/test/misc/opts_main.py b/test/misc/opts_main.py index 606761e4..a42cf645 100755 --- a/test/misc/opts_main.py +++ b/test/misc/opts_main.py @@ -10,7 +10,7 @@ opts_data = { 'usage':'[args] [opts]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -i, --in-fmt= f Input is from wallet format 'f' -d, --outdir= d Use outdir 'd' -C, --print-checksum Print a checksum diff --git a/test/objattrtest.py b/test/objattrtest.py index cdc3a448..2f91a561 100755 --- a/test/objattrtest.py +++ b/test/objattrtest.py @@ -43,7 +43,7 @@ opts_data = { 'usage':'[options] [object]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -d, --show-descriptor-type Display the attribute's descriptor type -v, --verbose Produce more verbose output """ diff --git a/test/objtest.py b/test/objtest.py index bf4d0224..9860a162 100755 --- a/test/objtest.py +++ b/test/objtest.py @@ -46,7 +46,7 @@ opts_data = { 'usage':'[options] [object]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -g, --getobj Instantiate objects with get_obj() wrapper -q, --quiet Produce quieter output -s, --silent Silence output of tested objects diff --git a/test/scrambletest.py b/test/scrambletest.py index 751f3038..75510b60 100755 --- a/test/scrambletest.py +++ b/test/scrambletest.py @@ -42,7 +42,7 @@ opts_data = { 'usage':'[options] [command]', 'options': """ -h, --help Print this help message ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -a, --no-altcoin Skip altcoin tests -C, --coverage Produce code coverage info using trace module -l, --list-cmds List and describe the tests and commands in this test suite diff --git a/test/tooltest.py b/test/tooltest.py index cc860310..28396772 100755 --- a/test/tooltest.py +++ b/test/tooltest.py @@ -40,7 +40,7 @@ opts_data = { -h, --help Print this help message -C, --coverage Produce code coverage info using trace module -d, --debug Produce debugging output (stderr from spawned script) ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -l, --list-cmds List and describe the tests and commands in this test suite -s, --testing-status List the testing status of all 'mmgen-tool' commands -t, --type=t Specify address type (valid choices: 'zcash_z') diff --git a/test/tooltest2.py b/test/tooltest2.py index 3de66d1a..725d2bcf 100755 --- a/test/tooltest2.py +++ b/test/tooltest2.py @@ -51,7 +51,7 @@ opts_data = { -A, --tool-api Test the tool_api subsystem -C, --coverage Produce code coverage info using trace module -d, --die-on-missing Abort if no test data found for given command ---, --longhelp Print help message for long options (common options) +--, --longhelp Print help message for long (global) options -l, --list-tests List the test groups in this test suite -L, --list-tested-cmds Output the 'mmgen-tool' commands that are tested by this test suite -n, --names Print command names instead of descriptions