|
Boost Users : |
Subject: Re: [Boost-users] [boost] [program options] Potential bug in parsing arguments where one is suffix of the other ?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2011-04-02 15:41:09
Sanjit Jhala wrote:
> Rec'd the following response which shd solve this issue for me:
>
> By default guessing is enabled, in which case you cant have two options with
> a common prefix, as it assumes the shorter one is the same as the full one
> when the user enters it.
In 1.46, full match is always chosen, even if there are longer options that
start with the same string.
- Volodya
-- Vladimir Prus Mentor Graphics +7 (812) 677-68-40
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