Boost logo

Boost Users :

Subject: [Boost-users] program_options: Make PO not eat argc
From: Florian Lindner (mailinglists_at_[hidden])
Date: 2014-10-08 02:54:01


Hello,

I have a couple of libraries (MPI, petsc) that also consume my applications
argc and argv, which is parsed with boost::program_options before.

po seems to eat up argv, i.e. removes all items that it handles. Can I
disable that behavior somehow so that po does not touch argc/argv. Or do I
need to recreate it, e.g. using collect_unrecognized?

Thanks,
Florian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net