print timestamp only if -T option is given

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>