add a command line option (-t like nginx) to check config format