Manually parse the arguments

We can use a more common syntax (-- prefix for options) this way.