Implement command line options for cpp_client