Print help and exit if no mode is supplied