Friday, September 10, 2010

Help Yourself: Read the Error

I've been having a conversation with someone today who was trying to follow some instructions I'd written several months ago. Unfortunately, things had changed with the script.

The step as written said this:
./ --tag=KERMIT --target=/tmp/foo

The script had been updated since I wrote the instructions, and the guy using it got this error:
./ --tag=KERMIT --log=/tmp/foo
Unknown option: --target

Were the instructions wrong? Absolutely.

Should this be something that requires my intervention to solve? Nope.

Reading the error makes it pretty obvious what likely happened: the log option got renamed to logDir somewhere along the way. It's a pretty good idea to try using logDir instead of log - it's got a good chance of working.

Help yourself. Read the error and see if you can solve it. If you can't, go ask for help. But at least read the error and try to help yourself first.

No comments:

Post a Comment