-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: detect multi-word options sections in usage
The regex used to detect options: sections in the usage: section was different to the one acutally used to parse sections, and it failed to find options sections with extra words, like "Advanced Options:". This also adds a test for the "options (case-insensitive) was found in usage." message, which we need because currently the only test that triggers it is test_issue_71... which does so by mistake.
- Loading branch information
Showing
2 changed files
with
19 additions
and
4 deletions.
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