Softwareupdate -l Responses

sanbornc
New Contributor III

Hello all! Does anyone know how I can find a complete list of all the possible responses from Software update when the

softwareupdate -l

command is run? Im trying to include all responses in a script with "if then" statements and need to find a list of all possible responses. So far I have:
"No new software available"
"Installing updates."

1 REPLY 1

sdagley
Esteemed Contributor II

@sanbornc I don't know of a complete list of just the responses to softwareupdate -l, but if you run strings /usr/sbin/softwareupdate you'll find pretty much any message the softwareupdate command will display and then some.