print error in red
modify usage in pre-commit.git.sh