wri / gfw_forest_loss_geotrellis

Global Tree Cover Loss Analysis using Geotrellis and SPARK
MIT License
10 stars 8 forks source link

Exit code 2 on bad args #135

Closed echeipesh closed 2 years ago

echeipesh commented 2 years ago

Pull request type

Please check the type of change your PR introduces: - [x] Bugfix ## What is the current behavior? Bad arguments result in process terminating with exit code 0. This hides the error when executed from batch. ## What is the new behavior? Exit with code 2 ## Does this introduce a breaking change? - [ ] Yes - [x] No