util: Disallow network-qualified command line options

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

No files matched your search

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