support flags with either ' ' or '=' separating the value

many people expect to put spaces between the --flag and the value, instead of =, so support both ways