I added a '--restart <status>' option to restart jobs with a certain status like 'failed' or 'finished'