If you change it to `if (not cmd or cmd == 'h' or cmd == 'help') then` you can remove the block below.