add "?" specifier to check if preceding optional argument is given