#!/bin/bash
$1 --a-bad-option 
# Invert the return code
test $? -eq 1
