aboutsummaryrefslogtreecommitdiff
path: root/THANKS.in
diff options
context:
space:
mode:
authorGravatar Aksel Sjögren <asjogren@itrsgroup.com> 2022-11-29 13:55:32 +0100
committerGravatar Sven Nierlein <sven@nierlein.org> 2022-11-29 16:38:33 +0100
commite5db81bb29544b1be6500ad4a4dec5b4002c9962 (patch)
tree879e7f264eac45f54a62c4f67012a7715a95755e /THANKS.in
parent1bc6d81651c5b5fe865515d420fc2772f4997059 (diff)
downloadmonitoring-plugins-e5db81bb29544b1be6500ad4a4dec5b4002c9962.tar.gz
check_icmp: fix parsing help/version long options
Fix parsing of the long options --help and --version. The special handling must be done before calling getopt(). This fixes erroneous output like: ./check_icmp --version ./check_icmp: invalid option -- '-' ./check_icmp: invalid option -- 'e' ./check_icmp: invalid option -- 'r' ./check_icmp: invalid option -- '-' ./check_icmp: invalid option -- 'e' ./check_icmp: invalid option -- 'r' Signed-off-by: Aksel Sjögren <asjogren@itrsgroup.com>
Diffstat (limited to 'THANKS.in')
0 files changed, 0 insertions, 0 deletions