summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_dig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index e2a6606..68b9a23 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -184,6 +184,7 @@ process_arguments (int argc, char **argv)
184 {"help", no_argument, 0, 'h'}, 184 {"help", no_argument, 0, 'h'},
185 {"record_type", required_argument, 0, 'T'}, 185 {"record_type", required_argument, 0, 'T'},
186 {"expected_address", required_argument, 0, 'a'}, 186 {"expected_address", required_argument, 0, 'a'},
187 {"port", required_argument, 0, 'p'},
187 {0, 0, 0, 0} 188 {0, 0, 0, 0}
188 }; 189 };
189 190
@@ -191,7 +192,7 @@ process_arguments (int argc, char **argv)
191 return ERROR; 192 return ERROR;
192 193
193 while (1) { 194 while (1) {
194 c = getopt_long (argc, argv, "hVvt:l:H:w:c:T:a:", longopts, &option); 195 c = getopt_long (argc, argv, "hVvt:l:H:w:c:T:p:a:", longopts, &option);
195 196
196 if (c == -1 || c == EOF) 197 if (c == -1 || c == EOF)
197 break; 198 break;
@@ -300,7 +301,7 @@ print_help (void)
300 301
301 printf (_(UT_HELP_VRSN)); 302 printf (_(UT_HELP_VRSN));
302 303
303 printf (_(UT_HOST_PORT), 'P', myport); 304 printf (_(UT_HOST_PORT), 'p', myport);
304 305
305 printf (" %s\n","-l, --lookup=STRING"); 306 printf (" %s\n","-l, --lookup=STRING");
306 printf (" %s\n",_("machine name to lookup")); 307 printf (" %s\n",_("machine name to lookup"));