util: Disallow network-qualified command line options

Previously these were allowed but ignored.
This commit is contained in:
Russell Yanofsky
2019-12-19 16:27:15 -05:00
parent 6677be64f6
commit 900d8f6f70
4 changed files with 42 additions and 16 deletions

View File

@@ -104,6 +104,13 @@ Wallet
Low-level changes
=================
Command line
------------
Command line options prefixed with main/test/regtest network names like
`-main.port=8333` `-test.server=1` previously were allowed but ignored. Now
they trigger "Invalid parameter" errors on startup.
Tests
-----