-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes a bunch of excessive commentary I made along the way. It was just way too much! Some logic was rationalized and collapsed down a bit as well. Some true doc comments were added as necessary, including a nice cheat-sheet for porting at the top, and the function was placed above the iterator struct for the documentation to flow more-naturally. Also, removed the getOptErr() and resetOptInd() interfaces, as they're mostly pointless bloat. The caller knows the state of opterr, and the whole "optind = 0" behavior is (a) not actually standardized by POSIX and (b) easily emulated by just making a new getopt iterator object.
- Loading branch information
Showing
1 changed file
with
70 additions
and
153 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