Просмотр исходного кода

plugins/utils.h: Added help text for timeout state

Added default help text (to UT_CONN_TIMEOUT) explaining the new
timeout state options.
abrist 10 лет назад
Родитель
Сommit
8d53afd976
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      plugins/utils.h

+ 4 - 3
plugins/utils.h

@@ -178,9 +178,10 @@ void strntolower (char * test_char, int size);
     Critical range\n")
     Critical range\n")
 
 
 #define UT_CONN_TIMEOUT _("\
 #define UT_CONN_TIMEOUT _("\
- -t, --timeout=INTEGER\n\
-    Seconds before connection times out (default: %d)\n")
-
+ -t, --timeout=INTEGER:<timeout state>\n\
+    Seconds before connection times out (default: %d)\n\
+    Optional \":<timeout state>\" can be a state integer (0,1,2,3) or a state STRING\n")
+ 
 #define UT_PLUG_TIMEOUT _("\
 #define UT_PLUG_TIMEOUT _("\
  -t, --timeout=INTEGER\n\
  -t, --timeout=INTEGER\n\
     Seconds before plugin times out (default: %d)\n")
     Seconds before plugin times out (default: %d)\n")