Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
optparse: test and allow adjustment of posixly-correct behavior #1049
Initially started working on this because I thought POSIXLY_CORRECT behavior of optparse was broken. In order to test properly, an
In the end, there wasn't a problem with POSIXLY_CORRECT functionality of optparse. Instead of throwing away all the new testing, I added an ability to disable POSIXLY_CORRECT for GNU getopt in optparse, which could come in handy in the future (?).
Additionally, I had to add a fix for #1048 here in order to get travis to pass in my branch.
@@ Coverage Diff @@ ## master #1049 +/- ## ========================================== + Coverage 77.91% 77.91% +<.01% ========================================== Files 148 148 Lines 25670 25699 +29 ========================================== + Hits 20000 20024 +24 - Misses 5670 5675 +5