Closed palfrey closed 5 years ago
Nice catch - I'm not very familiar with Clap, so I wasn't aware of that feature. Thanks for both using the tool and reporting to help me improve it! :smile:
Edit: happy to accept a PR if you'd like, or else I'll get this in the next release myself
Done in v0.2.6 . Thank you very much! 🎉 https://github.com/hawkins/watchdog/releases/tag/v0.2.6
It fails later on if neither are set, but can be caught at the arg parsing level with
Arg::required_unless_one
which would be slightly nicer than a panic. Otherwise, a good tool, thanks.