| 109 | // Implement this to do sanity checking of cmd line |
| 110 | // will throw if the user gave us bad options. |
| 111 | virtual void validateSwitches(ProgramArgs& args) |
| 112 | {} |
| 113 | |
| 114 | // implement this, to do your actual work |
| 115 | // it will be wrapped in a global catch try/block for you |