That comparison is there to prevent multiple --problems options.
I tend to avoid updating variables after their initialization is complete. Doing so tends to make code fragile vs. rearrangement.
It's no biggie in this case, more a matter-of-course thing.