I have been recently corrected that this sentence
"The argument can only be zero."
should be changed to
"The argument must be zero."
This is in context of a computer programme presenting an error message to the user.
For me there is not much of a difference here, apart from the second one sounding stronger (is it true?). What is native speakers view on this, please?