Jean-Marc Lasgouttes wrote: > It looks better IMO. What I would do maybe is to change Parser::Arg to > a small class with a few accessors that allow to get the equivalent of > getFullArg and getFullOpt. So the code using this would manipulate > Parser::Arg objects instead of strings. I think this would lead to > simpler code, but all the details are not clear in my mind.
I agree basically, but right now we call getFullArg and getFullOpt only very few times, so there is not much code to become simpler. > But we can do that later if you prefer. Yes, I prefer that. Let's do it when getFullArg and/or getFullOpt are used more often. Georg