I have come across an issue running examples from the OpenAM installation documentation: https://backstage.forgerock.com/#!/docs/openam/12.0.0/install-guide
In a number of the dsconfig examples, if you copy and paste (manually or by using the copy web button) the examples fail when you try to run them.
I have attached two images. The first is an example of the relevant section of the docs. The 2nd is what that copy/paste looks like in evernote. It is very subtle but you can see the hyphen's are slightly different for defaultAdd and filename.
This difference results in the following error if you copy paste this straight into a terminal:
An error occurred while parsing the command-line arguments: Argument
"—-defaultAdd" does not start with one or two dashes and unnamed trailing
arguments are not allowed
All of which is a bit confusing.
Feel free to contact me for clarification.