Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
nrpe
nrpe-improved_help.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nrpe-improved_help.patch of Package nrpe
Index: nrpe-2.15/src/check_nrpe.c =================================================================== --- nrpe-2.15.orig/src/check_nrpe.c +++ nrpe-2.15/src/check_nrpe.c @@ -91,7 +91,7 @@ int main(int argc, char **argv){ if(result!=OK || show_help==TRUE){ - printf("Usage: check_nrpe -H <host> [ -b <bindaddr> ] [-4] [-6] [-n] [-u] [-p <port>] [-t <timeout>] [-c <command>] [-a <arglist...>]\n"); + printf("Usage: check_nrpe -H <host> [ -b <bindaddr> ] [-4] [-6] [-n] [-u] [-p <port>] [-t <timeout>] [-c <command>] [-a <arglist...>] [--help] [--license] [--no-ssl]\n"); printf("\n"); printf("Options:\n"); printf(" -n = Do no use SSL\n"); @@ -106,6 +106,9 @@ int main(int argc, char **argv){ printf(" [arglist] = Optional arguments that should be passed to the command. Multiple\n"); printf(" arguments should be separated by a space. If provided, this must be\n"); printf(" the last option supplied on the command line.\n"); + printf(" -h, --help Print this short help.\n"); + printf(" -l,--license Print licensing information.\n"); + printf(" -n,--no-ssl Do not initial an ssl handshake with the server, talk in plaintext.\n"); printf("\n"); printf("Note:\n"); printf("This plugin requires that you have the NRPE daemon running on the remote host.\n"); Index: nrpe-2.15/src/nrpe.c =================================================================== --- nrpe-2.15.orig/src/nrpe.c +++ nrpe-2.15/src/nrpe.c @@ -159,7 +159,7 @@ int main(int argc, char **argv){ else if(result!=OK || show_help==TRUE){ - printf("Usage: nrpe [-n] -c <config_file> [-4|-6] <mode>\n"); + printf("Usage: nrpe [-n] -c <config_file> [-4|-6] <mode> [--help] [--license] [--no-ssl]\n"); printf("\n"); printf("Options:\n"); printf(" -n = Do not use SSL\n"); @@ -167,8 +167,11 @@ int main(int argc, char **argv){ printf(" -4 = use ipv4 only\n"); printf(" -6 = use ipv6 only\n"); printf(" <mode> = One of the following operating modes:\n"); - printf(" -i = Run as a service under inetd or xinetd\n"); - printf(" -d = Run as a standalone daemon\n"); + printf(" -i, --inetd = Run as a service under inetd or xinetd\n"); + printf(" -d, --daemon = Run as a standalone daemon\n"); + printf(" -h, --help = Print this short help.\n"); + printf(" -l, --license = Print licensing information.\n"); + printf(" -n, --no-ssl = Do not initial an ssl handshake with the server, talk in plain text.\n"); /* Updates help section to indicate how to start under SRC on AIX */ printf(" -d -s = Run as a subsystem under AIX\n"); printf("\n");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor