Fix the flags of c assistant to work as switches, fixes #19. TODO: Document