This is a first stab at #346 - warning on invalid command line options

I haven't tested on windows yet, but I wanted to get the pull request in to make sure that this approach makes sense.  Let me know what you think!