NagiosEnterprises / nrpe

NRPE Agent
GNU General Public License v2.0
257 stars 133 forks source link

Fix option is --use-adh, not --use-dh in usage() #245

Closed Yoda-BZH closed 2 years ago

Yoda-BZH commented 3 years ago

In usage(), the parameter name has a typo.

It says the option is --use-dh, but the real option is --use-adh

usage() use-dh: https://github.com/NagiosEnterprises/nrpe/blob/b226fe4175dc79c9a6d7994614e570b26ad0f0dc/src/check_nrpe.c#L733 real option handling: use-adh: https://github.com/NagiosEnterprises/nrpe/blob/b226fe4175dc79c9a6d7994614e570b26ad0f0dc/src/check_nrpe.c#L233 and https://github.com/NagiosEnterprises/nrpe/blob/b226fe4175dc79c9a6d7994614e570b26ad0f0dc/src/check_nrpe.c#L407

Yoda-BZH commented 3 years ago

Hello,

No news ?

Thank you

sawolf commented 2 years ago

Hi @Yoda-BZH, thanks for catching this. Looks good to me