Closed bschaatsbergen closed 2 years ago
At the moment if you run into an error on one of the subcommands you don't necessarily understand what should be provided exactly.
Existing error log:
$ cidr contains 10.0.0.0/16 10.0.14.11/1a Provided ip is not valid
Beacuse the contains subcommand expects an IP address as secondary argument, it would be helpful to steer users in the right direction.
contains
Preferable error log:
$ cidr contains 10.0.0.0/16 10.0.14.11/1a Provided IP address is not valid Example usage: cidr contains 10.0.0.0/16 10.0.14.11
This is addressed in #39.
At the moment if you run into an error on one of the subcommands you don't necessarily understand what should be provided exactly.
Existing error log:
Beacuse the
contains
subcommand expects an IP address as secondary argument, it would be helpful to steer users in the right direction.Preferable error log: