How to convert this code controlling for three ways fixed effect to reghdfe code?

Code:
reg y x i.industry i.firm i.year

I did

Code:
reghdfe y x , a(firm year industry)
but it failed

Thanks and warm regards.