370 | @@ -351,7 +371,13 @@ Value getnetworkinfo(const Array& params, bool fHelp)
371 | " \"localservices\": \"xxxxxxxxxxxxxxxx\", (string) the services we offer to the network\n"
372 | " \"timeoffset\": xxxxx, (numeric) the time offset\n"
373 | " \"connections\": xxxxx, (numeric) the number of connections\n"
374 | - " \"proxy\": \"host:port\", (string, optional) the proxy used by the server\n"
375 | + " \"networks\": [ (array) information per network\n"
376 | + " \"name\": \"xxx\", (string) network (ipv4, ipv6, onion)\n"
Another small nit: In the help message we have IPv4, IPv6 <b>or</b> Onion.
I prefer to use lowercase here. People will be using case-sensitive comparisons on this output, and thus using only lowercase rules out one source of typos.
I know that the -help documentation shows the network names uppercased, which is IMO a bit strange, but we do case-insensitive comparison so for us it doesn't matter.
I wasn't talking about uppercase, just , vs. or ;).