15 po::options_description control(
"Showlog");
17 (
"file,f", vars<string>(),
"File names of log-files to be read.")
18 (
"begin,b", var<string>(),
"Start time to be displayed (e.g. 20:00:12)")
19 (
"end,e", var<string>(),
"End time to be displayed (e.g. 21:00:13)")
20 (
"verbose,v", var<int16_t>()->implicit_value(
true)->default_value(8),
"Verbosity level (0:only fatal errors, 8:everything)")
21 (
"color,c",
po_switch(),
"Process a file which already contains color codes")
22 (
"strip,s",
po_switch(),
"Strip color codes completely")
25 po::positional_options_description
p;
po::typed_value< bool > * po_switch()
void SetArgumentPositions(const po::positional_options_description &desc)
void AddOptions(const po::options_description &opt, bool visible=true)