The docs show a space:
--add-opens module/package=target-module
But I also see variations without space:
--add-opens=module/package=target-module
I couldn't find any official docs showing the equals sign. I'm worried that this could be JVM-vendor-specific.
As mentioned in the comments by user85421, the documentation of the java
command you link, under Overview of Java Options, explicitly says:
Note: To specify an argument for a long option, you can use either --name=value or --name value.
In other words, yes, either syntax is officially supported.