Please double check the command line arguments you are using.
Refer to this doc: Install and configure SQL Server on Windows from the command prompt.
Besides, you could check the SQL Server setup logs for more details.
View and Read SQL Server Setup Log Files - SQL Server | Microsoft Learn
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".