bool any_short = any_of(opts.begin(), opts.end(), [](const OptionImpl *o){ return o->get_short(); });
string::size_type maxw = 0;
- list<string> switches;
+ vector<string> switches;
for(const OptionImpl *o: opts)
{
string swtch;
maxw = max(maxw, swtch.size());
}
- list<string> pargs;
+ vector<string> pargs;
for(const ArgumentImpl *a: args)
{
string parg = format("<%s>", a->get_name());