summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c46acd0)
raw | patch | inline | side by side (parent: c46acd0)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 3 Jul 2006 08:03:37 +0000 (08:03 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 3 Jul 2006 08:03:37 +0000 (08:03 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1439 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_dig.c | patch | blob | history |
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index e2a66067c7e5e6889e4386ec4757474e3eed7ff4..68b9a23be4eff75409d065bd632d384c3d2d61da 100644 (file)
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
{"help", no_argument, 0, 'h'},
{"record_type", required_argument, 0, 'T'},
{"expected_address", required_argument, 0, 'a'},
+ {"port", required_argument, 0, 'p'},
{0, 0, 0, 0}
};
return ERROR;
while (1) {
- c = getopt_long (argc, argv, "hVvt:l:H:w:c:T:a:", longopts, &option);
+ c = getopt_long (argc, argv, "hVvt:l:H:w:c:T:p:a:", longopts, &option);
if (c == -1 || c == EOF)
break;
printf (_(UT_HELP_VRSN));
- printf (_(UT_HOST_PORT), 'P', myport);
+ printf (_(UT_HOST_PORT), 'p', myport);
printf (" %s\n","-l, --lookup=STRING");
printf (" %s\n",_("machine name to lookup"));