[RFC] job: Add optional {flags} parameter.

fixes #1574
Very nice catch, GH doesn't show it (for me at least), but it's there.