The kubectl create deploy command does not have a flag called --command.
kubectl create deploy
Try instead kubectl run deploy .... It will return a message that it is deprecated, but it still works.
kubectl run deploy ...
Sure, I'm aware of that, simply pointing out an erratum that should be corrected in the slide.
It will be corrected in a future course update release.
Thanks for bringing it to our attention.