Program stops if there is a key -h in comm line