summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_users.c')
-rw-r--r--plugins/check_users.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/check_users.c b/plugins/check_users.c
index c81822b..e4ef681 100644
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
@@ -65,6 +65,9 @@ main (int argc, char **argv)
65 65
66 perf = strdup(""); 66 perf = strdup("");
67 67
68 /* Parse extra opts if any */
69 argv=np_extra_opts (&argc, argv, progname);
70
68 if (process_arguments (argc, argv) == ERROR) 71 if (process_arguments (argc, argv) == ERROR)
69 usage4 (_("Could not parse arguments")); 72 usage4 (_("Could not parse arguments"));
70 73
@@ -213,12 +216,19 @@ print_help (void)
213 print_usage (); 216 print_usage ();
214 217
215 printf (_(UT_HELP_VRSN)); 218 printf (_(UT_HELP_VRSN));
219 printf (_(UT_EXTRA_OPTS));
216 220
217 printf (" %s\n", "-w, --warning=INTEGER"); 221 printf (" %s\n", "-w, --warning=INTEGER");
218 printf (" %s\n", _("Set WARNING status if more than INTEGER users are logged in")); 222 printf (" %s\n", _("Set WARNING status if more than INTEGER users are logged in"));
219 printf (" %s\n", "-c, --critical=INTEGER"); 223 printf (" %s\n", "-c, --critical=INTEGER");
220 printf (" %s\n", _("Set CRITICAL status if more than INTEGER users are logged in")); 224 printf (" %s\n", _("Set CRITICAL status if more than INTEGER users are logged in"));
221 225
226#ifdef NP_EXTRA_OPTS
227 printf ("\n");
228 printf ("%s\n", _("Notes:"));
229 printf (_(UT_EXTRA_OPTS_NOTES));
230#endif
231
222 printf (_(UT_SUPPORT)); 232 printf (_(UT_SUPPORT));
223} 233}
224 234