diff --git a/Altcoin-and-Forkcoin-Support.md b/Altcoin-and-Forkcoin-Support.md
index c4451a5..4cfc049 100644
--- a/Altcoin-and-Forkcoin-Support.md
+++ b/Altcoin-and-Forkcoin-Support.md
@@ -307,7 +307,7 @@ the MMGen Project.
[P]: https://pypi.org/project/pip
[M]: https://getmonero.org/downloads/#linux
[U]: https://github.com/mmgen/MMGenLive/blob/master/home.mmgen/bin/mmlive-daemon-upgrade
-[X]: autosign-[MMGen-command-help]
+[X]: command-help-autosign
[gs]: Getting-Started-with-MMGen
[bo]: Getting-Started-with-MMGen#a_bo
[si]: Install-Bitcoind-from-Source-on-Debian-or-Ubuntu-Linux
diff --git a/Getting-Started-with-MMGen.md b/Getting-Started-with-MMGen.md
index 451514f..7b9baf4 100644
--- a/Getting-Started-with-MMGen.md
+++ b/Getting-Started-with-MMGen.md
@@ -994,7 +994,7 @@ features or requirements. Now build and install:
[04]: MMGen-Quick-Start-with-Regtest-Mode
[05]: Key-address-files
[06]: Subwallets
-[07]: autosign-[MMGen-command-help]
+[07]: command-help-autosign
[08]: Install-Bitcoind
[09]: Altcoin-and-Forkcoin-Support
[hc]: https://github.com/mmgen/mmgen/commits/master
diff --git a/Install-MMGen-on-Microsoft-Windows.md b/Install-MMGen-on-Microsoft-Windows.md
index 425af8d..6567370 100644
--- a/Install-MMGen-on-Microsoft-Windows.md
+++ b/Install-MMGen-on-Microsoft-Windows.md
@@ -419,6 +419,6 @@ continue from the `git checkout stable_msys2` step.
[ib]: Install-Bitcoind
[gs]: Getting-Started-with-MMGen
[pl]: Altcoin-and-Forkcoin-Support#a_oe
-[ax]: autosign-[MMGen-command-help]
+[ax]: command-help-autosign
[mc]: Altcoin-and-Forkcoin-Support#a_xmr
[ts]: Test-Suite
diff --git a/MMGen-command-help.md b/MMGen-command-help.md
index 1841779..72a092a 100644
--- a/MMGen-command-help.md
+++ b/MMGen-command-help.md
@@ -1,26 +1,26 @@
-* [mmgen-addrgen](addrgen-[MMGen-command-help])
-* [mmgen-addrimport](addrimport-[MMGen-command-help])
-* [mmgen-autosign](autosign-[MMGen-command-help])
-* [mmgen-keygen](keygen-[MMGen-command-help])
-* [mmgen-msg](msg-[MMGen-command-help])
-* [mmgen-passchg](passchg-[MMGen-command-help])
-* [mmgen-passgen](passgen-[MMGen-command-help])
-* [mmgen-regtest](regtest-[MMGen-command-help])
-* [mmgen-seedjoin](seedjoin-[MMGen-command-help])
-* [mmgen-seedsplit](seedsplit-[MMGen-command-help])
-* [mmgen-subwalletgen](subwalletgen-[MMGen-command-help])
-* [mmgen-tool](tool-[MMGen-command-help])
+* [mmgen-addrgen](command-help-addrgen)
+* [mmgen-addrimport](command-help-addrimport)
+* [mmgen-autosign](command-help-autosign)
+* [mmgen-keygen](command-help-keygen)
+* [mmgen-msg](command-help-msg)
+* [mmgen-passchg](command-help-passchg)
+* [mmgen-passgen](command-help-passgen)
+* [mmgen-regtest](command-help-regtest)
+* [mmgen-seedjoin](command-help-seedjoin)
+* [mmgen-seedsplit](command-help-seedsplit)
+* [mmgen-subwalletgen](command-help-subwalletgen)
+* [mmgen-tool](command-help-tool)
* [mmgen-tool (usage)][u]
* [mmgen-tool (detailed usage)][d]
-* [mmgen-txbump](txbump-[MMGen-command-help])
-* [mmgen-txcreate](txcreate-[MMGen-command-help])
-* [mmgen-txdo](txdo-[MMGen-command-help])
-* [mmgen-txsend](txsend-[MMGen-command-help])
-* [mmgen-txsign](txsign-[MMGen-command-help])
-* [mmgen-walletchk](walletchk-[MMGen-command-help])
-* [mmgen-walletconv](walletconv-[MMGen-command-help])
-* [mmgen-walletgen](walletgen-[MMGen-command-help])
-* [mmgen-xmrwallet](xmrwallet-[MMGen-command-help])
+* [mmgen-txbump](command-help-txbump)
+* [mmgen-txcreate](command-help-txcreate)
+* [mmgen-txdo](command-help-txdo)
+* [mmgen-txsend](command-help-txsend)
+* [mmgen-txsign](command-help-txsign)
+* [mmgen-walletchk](command-help-walletchk)
+* [mmgen-walletconv](command-help-walletconv)
+* [mmgen-walletgen](command-help-walletgen)
+* [mmgen-xmrwallet](command-help-xmrwallet)
-[u]: tool(usage)-[MMGen-command-help]
-[d]: tool(detail)-[MMGen-command-help]
+[u]: command-help-tool(usage)
+[d]: command-help-tool(detail)
diff --git a/Subwallets.md b/Subwallets.md
index 00f56eb..8db9863 100644
--- a/Subwallets.md
+++ b/Subwallets.md
@@ -130,4 +130,4 @@ screen][sh].
[c1]: https://github.com/mmgen/mmgen/commit/7538a9460e897b9b23d8ac58853c33713334043f
[c2]: https://github.com/mmgen/mmgen/commit/d1b8aefde6d3a13337cbe3147d9913eb09b6765b
[c3]: https://github.com/mmgen/mmgen/commit/82086c9936843dc43c1892b672cdf1680763ee84
-[sh]: https://github.com/mmgen/mmgen/wiki/subwalletgen-[MMGen-command-help]
+[sh]: https://github.com/mmgen/mmgen/wiki/command-help-subwalletgen
diff --git a/XOR-Seed-Splitting:-Theory-and-Practice.md b/XOR-Seed-Splitting:-Theory-and-Practice.md
index de2ebcc..d69a6c6 100644
--- a/XOR-Seed-Splitting:-Theory-and-Practice.md
+++ b/XOR-Seed-Splitting:-Theory-and-Practice.md
@@ -338,5 +338,5 @@ example will be provided in a future version of this document.
[wm]: https://en.wikipedia.org/wiki/Modular_arithmetic
[otp]: https://en.wikipedia.org/wiki/One-time_pad
[sc]: https://en.wikipedia.org/wiki/Stream_cipher
-[SS]: seedsplit-[MMGen-command-help]
-[SJ]: seedjoin-[MMGen-command-help]
+[SS]: command-help-seedsplit
+[SJ]: command-help-seedjoin
diff --git a/addrgen-[MMGen-command-help].md b/command-help-addrgen.md
similarity index 100%
rename from addrgen-[MMGen-command-help].md
rename to command-help-addrgen.md
diff --git a/addrimport-[MMGen-command-help].md b/command-help-addrimport.md
similarity index 100%
rename from addrimport-[MMGen-command-help].md
rename to command-help-addrimport.md
diff --git a/autosign-[MMGen-command-help].md b/command-help-autosign.md
similarity index 100%
rename from autosign-[MMGen-command-help].md
rename to command-help-autosign.md
diff --git a/keygen-[MMGen-command-help].md b/command-help-keygen.md
similarity index 100%
rename from keygen-[MMGen-command-help].md
rename to command-help-keygen.md
diff --git a/msg-[MMGen-command-help].md b/command-help-msg.md
similarity index 100%
rename from msg-[MMGen-command-help].md
rename to command-help-msg.md
diff --git a/passchg-[MMGen-command-help].md b/command-help-passchg.md
similarity index 100%
rename from passchg-[MMGen-command-help].md
rename to command-help-passchg.md
diff --git a/passgen-[MMGen-command-help].md b/command-help-passgen.md
similarity index 100%
rename from passgen-[MMGen-command-help].md
rename to command-help-passgen.md
diff --git a/regtest-[MMGen-command-help].md b/command-help-regtest.md
similarity index 100%
rename from regtest-[MMGen-command-help].md
rename to command-help-regtest.md
diff --git a/seedjoin-[MMGen-command-help].md b/command-help-seedjoin.md
similarity index 100%
rename from seedjoin-[MMGen-command-help].md
rename to command-help-seedjoin.md
diff --git a/seedsplit-[MMGen-command-help].md b/command-help-seedsplit.md
similarity index 100%
rename from seedsplit-[MMGen-command-help].md
rename to command-help-seedsplit.md
diff --git a/subwalletgen-[MMGen-command-help].md b/command-help-subwalletgen.md
similarity index 100%
rename from subwalletgen-[MMGen-command-help].md
rename to command-help-subwalletgen.md
diff --git a/tool(detail)-[MMGen-command-help].md b/command-help-tool(detail).md
similarity index 96%
rename from tool(detail)-[MMGen-command-help].md
rename to command-help-tool(detail).md
index 8e803bd..9e36ce3 100644
--- a/tool(detail)-[MMGen-command-help].md
+++ b/command-help-tool(detail).md
@@ -10,7 +10,7 @@
* [Key, address or subseed generation from an MMGen wallet](#a_7)
* [Tracking-wallet commands using the JSON-RPC interface](#a_8)
-## General string conversion and hashing utilities:
+## General string conversion and hashing utilities:
### `mmgen-tool b32tohex`
@@ -341,7 +341,7 @@
hexstr [str] (use '-' to read from STDIN)
-## Cryptocoin key/address utilities:
+## Cryptocoin key/address utilities:
### `mmgen-tool addr2pubhash`
@@ -506,7 +506,7 @@
wifkey [str] (use '-' to read from STDIN)
-## Seed phrase utilities:
+## Seed phrase utilities:
### `mmgen-tool hex2mn`
@@ -601,7 +601,7 @@
fmt [str='mmgen'] Seed phrase format (valid choices: 'mmgen','bip39','xmrseed')
-## Utilities for viewing/checking MMGen address and transaction files:
+## Utilities for viewing/checking MMGen address and transaction files:
### `mmgen-tool addrfile_chksum`
@@ -651,7 +651,7 @@
filesort [str='mtime'] File sort order (valid choices: 'mtime','ctime','atime')
-## File encryption and decryption:
+## File encryption and decryption:
### `mmgen-tool decrypt`
@@ -684,7 +684,7 @@
hash_preset [str='']
-## File utilities:
+## File utilities:
### `mmgen-tool extract_key_from_geth_wallet`
@@ -750,7 +750,7 @@
E = 1152921504606846976
-## Key, address or subseed generation from an MMGen wallet:
+## Key, address or subseed generation from an MMGen wallet:
### `mmgen-tool gen_addr`
@@ -840,7 +840,7 @@
wallet [str='']
-## Tracking-wallet commands using the JSON-RPC interface:
+## Tracking-wallet commands using the JSON-RPC interface:
### `mmgen-tool add_label`
@@ -976,6 +976,8 @@
include_amts [bool=True]
pretty [bool=False]
+ prune [bool=False]
+ warn_used [bool=False]
NOTES:
@@ -985,6 +987,13 @@
If ‘pretty’ is true, JSON will be dumped in human-readable format to allow
for editing of comment fields.
+
+ If ‘prune’ is true, an interactive menu will be launched allowing the user
+ to prune unwanted addresses before creating the JSON dump. Pruning has no
+ effect on the existing tracking wallet.
+
+ If ‘warn_used’ is true, the user will be prompted before pruning used
+ addresses.
### `mmgen-tool twimport`
@@ -1045,4 +1054,4 @@
### ~~~
- MMGEN v13.3.dev23 November 2022
+ MMGEN v13.3.dev24 December 2022
diff --git a/tool(usage)-[MMGen-command-help].md b/command-help-tool(usage).md
similarity index 98%
rename from tool(usage)-[MMGen-command-help].md
rename to command-help-tool(usage).md
index 9a3de75..2ee3b41 100644
--- a/tool(usage)-[MMGen-command-help].md
+++ b/command-help-tool(usage).md
@@ -148,7 +148,7 @@
rescan_address mmgen_or_coin_addr [str]
rescan_blockchain start_block [int=None] stop_block [int=None]
resolve_address mmgen_or_coin_addr [str]
- twexport include_amts [bool=True] pretty [bool=False]
+ twexport include_amts [bool=True] pretty [bool=False] prune [bool=False] warn_used [bool=False]
twimport filename [str] ignore_checksum [bool=False] batch [bool=False]
twview pager [bool=False] reverse [bool=False] wide [bool=False] minconf [int=1] sort [str='age'] age_fmt [str='confs'] interactive [bool=False] show_mmid [bool=True]
txhist pager [bool=False] reverse [bool=False] detail [bool=False] sinceblock [int=0] sort [str='age'] age_fmt [str='confs'] interactive [bool=False]
@@ -184,4 +184,4 @@
Same as above, but supply input via STDIN:
$ echo "deadbeefcafe" | mmgen-tool hexreverse -
- MMGEN v13.3.dev23 November 2022 MMGEN-TOOL(USAGE)(1)
+ MMGEN v13.3.dev24 December 2022 MMGEN-TOOL(USAGE)(1)
diff --git a/tool-[MMGen-command-help].md b/command-help-tool.md
similarity index 99%
rename from tool-[MMGen-command-help].md
rename to command-help-tool.md
index 495fd06..4bff52d 100644
--- a/tool-[MMGen-command-help].md
+++ b/command-help-tool.md
@@ -195,4 +195,4 @@
Type ‘mmgen-tool help ’ for help on a particular command
- MMGEN v13.2.0 August 2022 MMGEN-TOOL(1)
+ MMGEN v13.3.dev23 November 2022 MMGEN-TOOL(1)
diff --git a/txbump-[MMGen-command-help].md b/command-help-txbump.md
similarity index 100%
rename from txbump-[MMGen-command-help].md
rename to command-help-txbump.md
diff --git a/txcreate-[MMGen-command-help].md b/command-help-txcreate.md
similarity index 100%
rename from txcreate-[MMGen-command-help].md
rename to command-help-txcreate.md
diff --git a/txdo-[MMGen-command-help].md b/command-help-txdo.md
similarity index 100%
rename from txdo-[MMGen-command-help].md
rename to command-help-txdo.md
diff --git a/txsend-[MMGen-command-help].md b/command-help-txsend.md
similarity index 100%
rename from txsend-[MMGen-command-help].md
rename to command-help-txsend.md
diff --git a/txsign-[MMGen-command-help].md b/command-help-txsign.md
similarity index 100%
rename from txsign-[MMGen-command-help].md
rename to command-help-txsign.md
diff --git a/walletchk-[MMGen-command-help].md b/command-help-walletchk.md
similarity index 100%
rename from walletchk-[MMGen-command-help].md
rename to command-help-walletchk.md
diff --git a/walletconv-[MMGen-command-help].md b/command-help-walletconv.md
similarity index 100%
rename from walletconv-[MMGen-command-help].md
rename to command-help-walletconv.md
diff --git a/walletgen-[MMGen-command-help].md b/command-help-walletgen.md
similarity index 100%
rename from walletgen-[MMGen-command-help].md
rename to command-help-walletgen.md
diff --git a/xmrwallet-[MMGen-command-help].md b/command-help-xmrwallet.md
similarity index 100%
rename from xmrwallet-[MMGen-command-help].md
rename to command-help-xmrwallet.md