Hey Mike,
We need to improve the documentation. You can find the error codes in various help documents, but we don't have a centralized place. So here's the list of the current SVN tree version of wyUpdate:
Possible return codes:
0 = Success / no updates found 1 = General error 2 = Updates found 3 = Update process cancelled 4 = wyUpdate exited immediately to focus another wyUpdate instance