-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[symilar] Migrate from optparse / getopt to argparse
Co-authored-by: Roger Sheu <[email protected]>
- Loading branch information
1 parent
6bb335f
commit 689e144
Showing
3 changed files
with
47 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
We migrated ``symilar`` to argparse, from getopt, so the error and help output changed | ||
(for the better). We exit with 2 instead of sometime 1, sometime 2. The error output | ||
is not captured by the runner anymore. It's not possible to use a value for the | ||
boolean options anymore (``--ignore-comments 2`` should become ``--ignore-comments``). | ||
|
||
Refs #9731 |
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