$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-02-28 01:58:17
Torrey Pines wrote:
> Hi
>
> With the current implementation, the user does not have to supply the
> full option names, e.g. "--he" is as good as "--help", unless there is
> an ambiguity. Is there any way to disable this, i.e. allow only full
> matches?
The parse_command_line function has a 'style' parameter, when you don't
specify a value then 'default_style' is assumed. You'd need to
explicitly pass 'default_style' with 'allow_guessing' masked out.
The styles are defined in cmdline.hpp.
HTH,
Volodya