summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: da33366)
raw | patch | inline | side by side (parent: da33366)
author | Benoit Mortier <opensides@users.sourceforge.net> | |
Sun, 22 Oct 2006 22:34:57 +0000 (22:34 +0000) | ||
committer | Benoit Mortier <opensides@users.sourceforge.net> | |
Sun, 22 Oct 2006 22:34:57 +0000 (22:34 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1518 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_nt.c | patch | blob | history |
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 9e4ad67ca6ec049b34967bad2bbe8fa26212352a..45a2bb0fda8ccd4708c345dc900e3b9d94441eb5 100644 (file)
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
printf (_(UT_HELP_VRSN));
- printf (_("\nOptions:\n\
--H, --hostname=HOST\n\
- Name of the host to check\n\
--p, --port=INTEGER\n\
- Optional port number (default: %d)\n\
--s <password>\n\
- Password needed for the request\n\
--w, --warning=INTEGER\n\
- Threshold which will result in a warning status\n\
--c, --critical=INTEGER\n\
- Threshold which will result in a critical status\n\
--t, --timeout=INTEGER\n\
- Seconds before connection attempt times out (default: %d)\n\
--h, --help\n\
- Print this help screen\n\
--V, --version\n\
- Print version information\n"), PORT, DEFAULT_SOCKET_TIMEOUT);
-
- printf (_("\
--v, --variable=STRING\n\
- Variable to check. Valid variables are:\n"));
+ printf ("%s\n", _("Options:"));
+ printf (" %s\n", "-H, --hostname=HOST");
+ printf (" %s\n", _("Name of the host to check"));
+ printf (" %s\n", "-p, --port=INTEGER");
+ printf (" %s", _("Optional port number (default: "));
+ printf ("%d)\n", PORT);
+ printf (" %s\n", "-s <password>");
+ printf (" %s\n", _("Password needed for the request"));
+ printf (" %s\n", "-w, --warning=INTEGER");
+ printf (" %s\n", _("Threshold which will result in a warning status"));
+ printf (" %s\n", "-c, --critical=INTEGER");
+ printf (" %s\n", _("Threshold which will result in a critical status"));
+ printf (" %s\n", "-t, --timeout=INTEGER");
+ printf (" %s", _("Seconds before connection attempt times out (default: "));
+ printf ("%d)\n", DEFAULT_SOCKET_TIMEOUT);
+ printf (" %s\n", "-h, --help");
+ printf (" %s\n", _("Print this help screen"));
+ printf (" %s\n", "-V, --version");
+ printf (" %s\n", _("Print version information"));
+ printf (" %s\n", "-v, --variable=STRING");
+ printf (" %s\n", _("Variable to check. Valid variables are:"));
printf (_("\
CLIENTVERSION = Get the NSClient version\n\
If -l <version> is specified, will return warning if versions differ.\n"));