Idiom: Read someone the riot act

What does 'Read someone the riot act' mean?

If you read someone the riot act, you give them a clear warning that if they don't stop doing something, they will be in serious trouble.

See also: