convert nuke-on-error to boolean

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Merge pull request #317 from dachary/wip-nuke-on-error

convert nuke-on-error to boolean