-
Notifications
You must be signed in to change notification settings - Fork 689
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Give correct error message for unrecognised options
The first unknown thing was always treated as the URL. So in cases where the unrecognised option was before the URL the URL caused the error. This fixes this by checking the unknown thing if it could be meant as a option. If it is a option it is not set as the URL but produces the error. In addition two tests are added to check the produced error messages in both cases. fixes #522
- Loading branch information
1 parent
162ca3f
commit 27a1de7
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters