openethereum/parity/cli
Niklas Adolfsson 0a535bf485 Honor --max-peers if --min-peers is not specified (#8087)
* Change interpretation min and max peers

* Only min specified -> Set min to that value and max to default
* Only max specified -> Set min and max to that value
* Both specified -> Set min the smallest value and max to the largest value

* simplify logic, new ParseError & add tests

* simplify code according to the review comments

* address review comments

* more fine-grained tests
2018-04-03 16:51:57 +02:00
..
presets v1.9.0 (#6727) 2017-10-12 23:44:02 +02:00
tests Auto-updater improvements (#8078) 2018-04-03 16:49:23 +02:00
mod.rs Honor --max-peers if --min-peers is not specified (#8087) 2018-04-03 16:51:57 +02:00
usage_header.txt Wrap --help output to 120 characters (#7626) 2018-01-31 09:50:52 +01:00
usage.rs Honor --max-peers if --min-peers is not specified (#8087) 2018-04-03 16:51:57 +02:00
version.txt Wrap --help output to 120 characters (#7626) 2018-01-31 09:50:52 +01:00