Tweak flags handling

- Move recipes to Flags too
- Handle wrong flags in ParseFlags