Kaynağa Gözat

check_uptime - Removed extra help option, and updated the verbose usage/halp to -vvv

abrist 12 yıl önce
ebeveyn
işleme
3c74efdaa2
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      plugins/check_uptime.c

+ 3 - 3
plugins/check_uptime.c

@@ -216,7 +216,7 @@ void print_usage (void) {
 	
 	
 	printf( "%s\n", _("Usage:") );
 	printf( "%s\n", _("Usage:") );
 	printf( "%s", _("check_uptime ") );
 	printf( "%s", _("check_uptime ") );
-	printf( "%s\n", _("[-u uom] [-w threshold] [-c threshold] [-t] [-h] [-v] [-V]") );
+	printf( "%s\n", _("[-u uom] [-w threshold] [-c threshold] [-t] [-h] [-vvv] [-V]") );
 
 
 } // end usage
 } // end usage
 
 
@@ -237,8 +237,8 @@ void print_help (void) {
         printf ( "%s\n", _("-c, Critcal threshold") );
         printf ( "%s\n", _("-c, Critcal threshold") );
 	printf ( "%s\n", _("-w, Warning threshold") );
 	printf ( "%s\n", _("-w, Warning threshold") );
 	printf ( "%s\n", _("-u, Time unit of measurement (seconds|minutes|hours|days) (default: minutes)") );
 	printf ( "%s\n", _("-u, Time unit of measurement (seconds|minutes|hours|days) (default: minutes)") );
-        printf ( "%s\n", _("-v, Enable verbose output") );
-        printf ( "%s\n", _("-h, Print help and usage") );
+        printf ( "%s\n", _("-vvv, Enable verbose output") );
+        //printf ( "%s\n", _("-h, Print help and usage") );
 
 
        printf ( UT_SUPPORT );
        printf ( UT_SUPPORT );