-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow CylcOptionParser to display docs for a command which
might have multiple different valid arguments. e.g. Cylc message can be either cylc message -- [WORKFLOW JOB [[SEVERITY:]MESSAGE ...]]] __or__ cylc message -- [[SEVERITY:]MESSAGE ...]]] - Refactored part of the __init__ method of CylcOptionParser. into a method for ease of testing. - Added unit tests to get complete coverage of new method. Response to review: the ... from the second usage. Added extra information to the descriptions of the args. remove cli-help test
- Loading branch information
Showing
3 changed files
with
115 additions
and
23 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