The syntax used to document fetching samples with optional arguments was not always valid. This commit fixes this issue in order to allow an easier parsing of the documentation.