mirror of https://github.com/Icinga/icinga2.git
Disable program option guessing in check_service
This disables the program option guessing in check_service to avoid ambiguous parameter parsing. refs #7188
This commit is contained in:
parent
736e0806d7
commit
3258d6832a
|
@ -43,8 +43,10 @@ static int parseArguments(int ac, WCHAR **av, po::variables_map& vm, printInfoSt
|
|||
parser
|
||||
.options(desc)
|
||||
.style(
|
||||
po::command_line_style::unix_style |
|
||||
po::command_line_style::allow_long_disguise)
|
||||
po::command_line_style::unix_style &
|
||||
~po::command_line_style::allow_guessing |
|
||||
po::command_line_style::allow_long_disguise
|
||||
)
|
||||
.run(),
|
||||
vm);
|
||||
vm.notify();
|
||||
|
|
Loading…
Reference in New Issue