doc: unify optional arguments format in headings
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
Make space and comma distribution in some headings consistent with the majority of headings.