void foo() { desc->add_options() ("help,h", "produce help message") ("version,v", "print the version number") ("include-path,I", value< vector >(), "include path") ("input-file,i", value(), "input file"); }