Hacker News new | ask | show | jobs
by geysersam 284 days ago
Maybe you can use his `or` construct to allow a `--server` without `--port`, but then also add a default `error_message` property.

After parsing you check if `error_message` exists and raise that error.