Example syntax documentation software or parameter
From MediaWiki extension testing
"or" parameters by using the pipeline "|".
wikiation_check_isolation mwversion [--detail|-d] [excluded_dir]
Used in : Wikiation_check_isolation]
Or detail
[--detail|-d]
You can use "--detail" or "-d" whatever you prefer. This is done to make live easy for you. First you "--detail" so you know what this parameter does. But when you use it more often you may get tired. Then you can type "-d" with the same functionality.
Be aware, "or" does not allways means the same functionality. It is just you can select the left option "or" the right option, but not select them together.