Browse Source

update --longhelp text

The MMGen Project 5 months ago
parent
commit
66521a07f2

+ 1 - 1
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
 """,

+ 1 - 1
mmgen/main_addrgen.py

@@ -49,7 +49,7 @@ opts_data = {
 		'usage':'[opts] [seed source] <index list or range(s)>',
 		'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

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

+ 1 - 1
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)

+ 1 - 1
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)

+ 1 - 1
mmgen/main_passgen.py

@@ -42,7 +42,7 @@ opts_data = {
 		'usage':'[opts] [seed source] <ID string> <index list or range(s)>',
 		'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}.

+ 1 - 1
mmgen/main_regtest.py

@@ -31,7 +31,7 @@ opts_data = {
 		'usage':   '[opts] <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
 -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

+ 1 - 1
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)

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

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

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

+ 1 - 1
mmgen/main_txcreate.py

@@ -31,7 +31,7 @@ opts_data = {
 		'usage':   '[opts]  [<addr,amt> ...] <change addr, addrlist ID or addr type> [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

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

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

+ 1 - 1
mmgen/main_txsign.py

@@ -33,7 +33,7 @@ opts_data = {
 		'usage':   '[opts] <transaction 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
 -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

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

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

+ 1 - 1
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
 """,
 	},
 }

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

+ 1 - 1
test/gentest.py

@@ -41,7 +41,7 @@ opts_data = {
 		'usage':'[options] <spec> <rounds | dump 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, --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

+ 1 - 1
test/include/coin_daemon_control.py

@@ -36,7 +36,7 @@ opts_data = {
 		'usage':'[opts] <network IDs>',
 		'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

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

+ 1 - 1
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
 """

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

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

+ 1 - 1
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')

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