I'm currently reading the Boost.Program_options tutorial.
Here is some of the code they introduce:
// Declare the supported options.
po::options_description desc("Allowed options");
desc.add_options()
("help", "produce help message")
("compression", po::value<int>(), "set compression level")
;
I understand the purpose behind this code, however the syntax confuses me. Are the indented lines arguments to a function? What is with the brackets?