-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip unknown options check if there is a better error to display (#1464)
* Check for uknown options in multiple places, to allow skipping check * Missing command shows help, does not check for options * Check unknown commands before unknown options * Add comments * Restore legacy command:* handling * Add more tests for legacy command('*') * Add comment explaining history for test * Improve comment * Test for command suggestion despite unknown option * Improve comments and suppress test output * Add test for competing unknown command and option * Test that unknown option is an error in simple program * Fix test and comment
- Loading branch information
1 parent
b040db4
commit 4f78587
Showing
4 changed files
with
97 additions
and
5 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
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