Преглед изворни кода

plugins/utils.h: Addition of plugin timeout msg.

Addition of timeout message for non-network plugins(UT_PLUG_TIMEOUT), and alteration of UT_TIMEOUT to UT_CONN_TIMEOUT for networked checks. Alteration of pull request #1209 from M-P tracker by user awiddersheim.
Spenser Reinhardt пре 12 година
родитељ
комит
15f44c657a
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      plugins/utils.h

+ 5 - 1
plugins/utils.h

@@ -173,10 +173,14 @@ char *fperfdata (const char *,
  -c, --critical=RANGE\n\
     Critical range\n")
 
-#define UT_TIMEOUT _("\
+#define UT_CONN_TIMEOUT _("\
  -t, --timeout=INTEGER\n\
     Seconds before connection times out (default: %d)\n")
 
+#define UT_PLUG_TIMEOUT _("\
+ -t, --timeout=INTEGER\n\
+    Seconds before plugin times out (default: %d)\n")
+
 #ifdef NP_EXTRA_OPTS
 #define UT_EXTRA_OPTS _("\
  --extra-opts=[section][@file]\n\