Ok, I have managed to get it to work, however, the file param only accepts one value. How can I get several different values for one param ? e.g. --file file1.txt file2.txt file3.txt

        if (vm.count("file")) {
            cout << "Files selected: ";
            vector<string> files = vm["file"].as< vector<string> >();
            for(int i=0; i<files.size(); ++i) {
                cout << files[i];
            }
            cout << "\n";
        }

2009/8/24 OvermindDL1 <overminddl1@gmail.com>
On Sun, Aug 23, 2009 at 6:36 PM, OvermindDL1<overminddl1@gmail.com> wrote:
> LLVM.
Er, ignore that, was typing up 3 emails at the same time and got my
wires crossed, I mean Boost.Program_Options.  :)
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users