parse main command greedily so it can have dashes

so that it can have its own arguments