cli: mirror setopt/3

Toggle the exit_status and termsig switches on the command line using
an argument, similar to setopt/3.