OFP is an public domain, embeddable option parser. It is designed as an library and can be easily linked into an executable either dynamically or statically.
Project's source code can be found on github