Halt program if arguments are wrong

Seems obvious but I wasn't doing it before. '~'