Parse the flags so that they actually mean/do something