What is the meaning of [You cannot have it both ways]

You may not choose first one and then the other alternative in order to suit
your own convenience. It is often used in argument when an opponent shifts his
ground.

##### See also:

* You cannot burn the candle at both ends
* You cannot have your cake and eat it