Update flag handling

I'm not sure if it is expected nehaviour, but it does this way.
We should either change the code or the documentation.

I changed the docs because it seems an aceptable behaviour,
though not as elegant as it could be.