support verbose; support -ri; support combined short options; deal with error exit code; manage global exit code; support dir exam