summaryrefslogtreecommitdiffstats
path: root/plugins/check_cluster.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_cluster.c')
-rw-r--r--plugins/check_cluster.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index ac3eece..d493149 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -74,6 +74,9 @@ int main(int argc, char **argv){
74 bindtextdomain (PACKAGE, LOCALEDIR); 74 bindtextdomain (PACKAGE, LOCALEDIR);
75 textdomain (PACKAGE); 75 textdomain (PACKAGE);
76 76
77 /* Parse extra opts if any */
78 argv=np_extra_opts(&argc, argv, progname);
79
77 if(process_arguments(argc,argv)==ERROR) 80 if(process_arguments(argc,argv)==ERROR)
78 usage(_("Could not parse arguments")); 81 usage(_("Could not parse arguments"));
79 82
@@ -236,6 +239,7 @@ print_help(void)
236 239
237 printf("\n"); 240 printf("\n");
238 printf("%s\n", _("Options:")); 241 printf("%s\n", _("Options:"));
242 printf(_(UT_EXTRA_OPTS));
239 printf (" %s\n", "-s, --service"); 243 printf (" %s\n", "-s, --service");
240 printf (" %s\n", _("Check service cluster status")); 244 printf (" %s\n", _("Check service cluster status"));
241 printf (" %s\n", "-h, --host"); 245 printf (" %s\n", "-h, --host");
@@ -257,6 +261,10 @@ print_help(void)
257 printf("\n"); 261 printf("\n");
258 printf("%s\n", _("Notes:")); 262 printf("%s\n", _("Notes:"));
259 printf(_(UT_THRESHOLDS_NOTES)); 263 printf(_(UT_THRESHOLDS_NOTES));
264#ifdef NP_EXTRA_OPTS
265 printf ("\n");
266 printf (_(UT_EXTRA_OPTS_NOTES));
267#endif
260 268
261 printf(_(UT_SUPPORT)); 269 printf(_(UT_SUPPORT));
262} 270}