Hold Someone’s Feet to the Fire

What does the idiom “hold someone’s feet to the fire” mean?

Definition: put strong pressure on someone to adopt a course of action

Example: I’m holding my boyfriend’s feet to the fire—I told him if he doesn’t propose by the end of the month, we’re through.