Add documentation for global options
Merge pull request #638 from wch/option-docs

Add documentation for global options