Price controls and horseshit
An interesting story Galbraith used to tell (see here) is that they would have a sign to tell when some industrialist that wanted to hike prices tried to suggest that he would go broke if that didn't happen. They would move their index and middle fingers like the antennas of ants. The story went that this little ant rolled a dung of horseshit up a mound, and when it lost control of it, and the dung rolled down in the direction of the anthill, all the ants nervously signaled each other (moving their antennas) to "stop that horseshit."
Prices increased on average 5.8% annually between 1941 and 1946 (they accelerated a bit in 1947, after price controls were lifted, but didn't get out of control). Note that the rate of unemployment was at very low levels reaching 1.2% in 1944. This is not to say that all price control systems work perfectly, but that under certain circumstances they might be a useful way of controlling inflation.
PS: By the way, the US had an extensive bureaucratic machine to enforce the application of price controls. Also, certain shortages were considered acceptable during a war period. But note that similarly certain shortages should be normal in a developing country with a balance of payments constraint.