Error while Creating Diffie-Hellman Parameter

I am trying to generate the Delphi-Hellman Parameter but I am getting the error. Any help will be highly appreciated

raye@integrity.tech:/etc/nginx/ssl$ sudo openssl dhparam 2048 -out dhparam.pem
dhparam: Extra option: “2048”
dhparam: Use -help for summary.
raye@integrity.tech:/etc/nginx/ssl$

The error is right there.

dhparam: Extra option: “2048”
dhparam: Use -help for summary.

Use -help to get information on how to run the command and what it expects.

$ openssl dhparam -help | grep Usage
Usage: dhparam [options] [numbits]

...
$ openssl dhparam -out example.pem 2048

Thank you so much for pointing me in the right direction.