I see in the
documentation the class positional_options_description is used to list names
for positional options. But nowhere in the documentation does it say how to
pass this to the parser!
Given the
code based on the documentation samples,
po::store(po::parse_command_line(argc,argv,opt),vm);
po::notify(vm);
and
po::positional_options_description pd;
pd.add("output-file", 2).add("input-file", -1);
where do I
tell parse_command_line about pd?
=