Fix up flag usage