体验新版 GitCode,发现更多精彩内容 >>
check stdin is terminal or pipe. if read from terminal interactive printf help message.