Changed syntax error to correctly display switch as -n