File nrpe-improved_help.patch of Package nrpe

diff -urN nrpe-nrpe-3.2.1.orig/src/check_nrpe.c nrpe-nrpe-3.2.1/src/check_nrpe.c
--- nrpe-nrpe-3.2.1.orig/src/check_nrpe.c	2017-09-01 15:59:54.000000000 +0200
+++ nrpe-nrpe-3.2.1/src/check_nrpe.c	2017-12-05 11:49:35.220046000 +0100
@@ -740,6 +740,7 @@
 		printf(" -a, --args=LIST              Optional arguments that should be passed to the command,\n");
 		printf("                              separated by a space. If provided, this must be the last\n");
 		printf("                              option supplied on the command line.\n");
+		printf(" -h, --help   = Print this short help.\n");
 		printf("\n");
 		printf(" NEW TIMEOUT SYNTAX\n");
 		printf(" -t, --timeout=INTERVAL:STATE\n");
diff -urN nrpe-nrpe-3.2.1.orig/src/nrpe.c nrpe-nrpe-3.2.1/src/nrpe.c
--- nrpe-nrpe-3.2.1.orig/src/nrpe.c	2017-09-01 15:59:54.000000000 +0200
+++ nrpe-nrpe-3.2.1/src/nrpe.c	2017-12-05 11:48:42.508215000 +0100
@@ -570,6 +570,8 @@
 		printf("Options:\n");
 		printf(" -V, --version         Print version info and quit\n");
 		printf(" -n, --no-ssl          Do not use SSL\n");
+		printf(" -h, --help       = Print this short help.\n");
+		printf(" -l,--license     = Print licensing information.\n");
 		printf(" -c, --config=FILE     Name of config file to use\n");
 		printf(" -4, --ipv4            Use ipv4 only\n");
 		printf(" -6, --ipv6            Use ipv6 only\n");
openSUSE Build Service is sponsored by