Converted option parsing to getopt(). Also added some explanatory comments.
2 files changed