// file : file/driver.cxx // author : Boris Kolpackov // license : MIT; see accompanying LICENSE file #include #include #include #include "options.hxx" using namespace std; int main (int argc, char* argv[]) { try { cli::argv_file_scanner s (argc, argv, "--options-file"); options o (s); cout << "verbosity: " << o.verbose () << endl << "values: "; copy (o.val ().begin (), o.val ().end (), ostream_iterator (cout, " ")); cerr << endl; } catch (const cli::exception& e) { cerr << e << endl; return 1; } }