add missing comma(s) in api examples
Merge pull request #4955 from jojosch/api-help-example-fixes

add missing comma(s) in api examples