This is a practice project. Project Ouline/Problem Statment can be found here.
Parce is the name I gave to this option parsing module. Option parsing provided by this module is very basic and is only made to cover the requirements listed in the link at the top of this page.
from parce import OptionParser
parser = OptionParser()
parser.add_option('r')
parser.add_option(('f', 'file'), required=True, argument=True)
options = parser.parse(['-r', '-fout.log'])