Add handling code for oflags.
Merge pull request #63 from jeromemaloberti/oflags

Add handling code for oflags.