feat(parseOptions): provide source index param (fixes #972)