Fix exception handling around unrecognised options

This commit is contained in:
Patrick Niklaus
2016-07-25 19:25:16 +02:00
parent 0b868969be
commit e83905b783
4 changed files with 50 additions and 33 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ Feature: osrm-routed command line options: invalid options
Scenario: osrm-routed - Non-existing option
When I run "osrm-routed --fly-me-to-the-moon"
Then stdout should be empty
And stderr should contain "exception"
And stderr should contain "unrecognised"
And stderr should contain "fly-me-to-the-moon"
And it should exit with code 1