Olivia Wilde is getting bashed for praising Harry Styles for his minor role in her film "Don't Worry Darling." Netizens thought he did not deserve compliments just for not being sexist.

The "Booksmart" director took to Instagram two days ago to rain compliments over the singer's involvement in her film. She expressed her gratitude that he agreed to allow actress Florence Pugh to "hold center stage" in the movie. Suffice to say, he agreed to a minor role.

While some thought Wilde's message for Styles was sweet and meaningful, others claimed they were unnecessary. They thought it is not worth praising someone for being non-sexist and to be doing a role that he agreed to do in the first place.

"I love Olivia Wilde but girl? why are we praising men for doing the bare minimum? It's literally his job," one netizen wrote.

i love olivia wilde but girl ? why are we praising men for doing the bare minimum. it's literally his job https://t.co/cPTsfXHGoc

— emma hinchcliffe (@emmahinch13) February 16, 2021

"I love Harry more than the next girl, but seriously...Olivia Wilde praising him for being in a movie starring a woman is the most bare minimum level s**t...," another tweeted adding, "like I'm not going to applaud Harry for not being sexist just say he's charming and pretty next time, liv, we'll understand."

"So we are celebrating an emerging male actor for doing the job he was hired to do," journalist Hanna Flint chimed in adding, "We get it, you love him and he is great but this one is for bare minimum Twitter."

So we are celebrating an emerging male actor for doing the job he was hired to do? We get it, you love him and he is great but this one is for bare minimum Twitter. pic.twitter.com/6eHat8kM4Q

— Hanna Ines Flint (@HannaFlint) February 15, 2021

Flint thinks Styles needs "a few supporting roles under his belt before taking on a lead" so he can "work his way up rather than fast-tracking to top billing because of his name."

Even his fans know this is bs pic.twitter.com/WTz94lsprR

— FAKE HARRIE (@ninarockert) February 15, 2021

Even author Jude Ellison Doyle thought Wilde's praise for Styles was uncalled for. He said it was his obligation to do so as he signed up for a minor role in "Don't Worry Darling." Doyle compared her compliments to pelting men "with medals and trophies for acting like the women they work with are people."

Did we not just go through the 5,000th Disillusioning Reveal About Joss Whedon? We genuinely don't have to pelt men with medals and trophies for acting like the women they work with are people, it is their obligation to do so. https://t.co/ASbvbS7f4i

— Jude Ellison S. Doyle (@sadydoyle) February 16, 2021

Meanwhile, others thought it was ironic that Wilde praised Styles on behalf of the female lead in "Don't Worry Darling." They expressed their disbelief in a series of tweets.

Not Olivia Wilde talking about how the movie is all about a woman and then making the entire caption about praising Harry ?

— alyssa (@sirennarry) February 16, 2021

olivia wilde: to celebrate this strong female lead, i’m gonna celebrate the amazing fantastic ground breaking revolutionary male supporting role?❤️

— ⋆ liz ⋆⛽️ (@swiftshaim) February 16, 2021

Styles plays Jack in "Don't Worry Darling" opposite Pugh's Alice. The movie wrapped up production recently and Wilde took that opportunity to thank and praise the singer in a lengthy social media post.

Oscar red carpet best looks
Olivia Wilde Getty