mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +02:00
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
|
parser
|
||||||
.options(desc)
|
.options(desc)
|
||||||
.style(
|
.style(
|
||||||
po::command_line_style::unix_style |
|
po::command_line_style::unix_style &
|
||||||
po::command_line_style::allow_long_disguise)
|
~po::command_line_style::allow_guessing |
|
||||||
|
po::command_line_style::allow_long_disguise
|
||||||
|
)
|
||||||
.run(),
|
.run(),
|
||||||
vm);
|
vm);
|
||||||
vm.notify();
|
vm.notify();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user