exit cleanly when printing help message