mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7190 from Icinga/bugfix/check-service-ambiguous-parameter
Disable program option guessing in check_service
This commit is contained in:
commit
d875cd88d2
|
@ -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…
Reference in New Issue