|
Boost Users : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-24 11:15:36
Javier Gonzalez wrote:
> Hi again
>
> I tried what was in the tutorials at the time and the thing was that,
> let's say I wanted include paths and files, I would have to write the
> following:
>
> myCommand -I /path1 -I /path2 -f file1 -f file2
>
> (specifying the option for each file and path so it's pushed back into
> the vector) That is fine, but if I try the following:
>
> myCommand -I /path1 /path2 -f file1 file2
>
> then the parser didn't recognize the 'file' option and the paths
> vector<string> had all these elements:
> /path1, /path2, -f, file1, file2
>
> That wa not what I expected. In particular, I wanted to do something like
> myCommand -I /path1/* -f file*, and ran into the previous problem.
To begin with, what if you have a file starting with "-I" and your command
line is :
-f file* -I /path1/*
What should happen?
- Volodya
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