The cop showed a lot of restraint. When the man kept advancing in the face of a weapon and especially when he raised that stick, I would have shot him.
And after about the first three, the next ones would have been in his face.
Now, if backup had been there and it would have been two cops or more, different story. Or if the officer carried a tazer and had time to use it, different story.