$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Program Options] terminate parsing after first positional argument
From: driscoll_at_[hidden]
Date: 2012-07-06 05:36:19
Olaf Meeuwissen writes:
> Interspersed options/arguments are unregistered, aren't they?
No, not necessarily. Consider
foo --help
foo target_program --help
or (going full inception)
foo foo --any-flag
which is why
> When the parser sees the first unregistered option it can
> just stop parsing.
isn't a good solution (though much better than the current state): parsing
really needs to stop at the first *positional* argument, not at the first
unrecognized option.
Evan