Support inverting -G and -g using a leading !.

Signed-off-by: David Turner <novalis@novalis.org>