Simplified cli/CMakeLists.txt
All unknown options counts as an error
main no longer leaks *options and *buffer