diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Nagios/Plugin/Getopt.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Nagios/Plugin/Getopt.pm b/lib/Nagios/Plugin/Getopt.pm index d291b2f..1903e8c 100644 --- a/lib/Nagios/Plugin/Getopt.pm +++ b/lib/Nagios/Plugin/Getopt.pm | |||
@@ -41,8 +41,8 @@ my @ARGS = ({ | |||
41 | help => "-t, --timeout=INTEGER\n Seconds before plugin times out (default: %s)", | 41 | help => "-t, --timeout=INTEGER\n Seconds before plugin times out (default: %s)", |
42 | default => $DEFAULT{timeout}, | 42 | default => $DEFAULT{timeout}, |
43 | }, { | 43 | }, { |
44 | spec => 'verbose|v', | 44 | spec => 'verbose|v+', |
45 | help => "-v, --verbose\n Show details for command-line debugging", | 45 | help => "-v, --verbose\n Show details for command-line debugging (can repeat up to 3 times)", |
46 | default => $DEFAULT{verbose}, | 46 | default => $DEFAULT{verbose}, |
47 | }, | 47 | }, |
48 | ); | 48 | ); |
@@ -467,7 +467,7 @@ example: | |||
467 | -t, --timeout=INTEGER | 467 | -t, --timeout=INTEGER |
468 | Seconds before plugin times out (default: 15) | 468 | Seconds before plugin times out (default: 15) |
469 | -v, --verbose | 469 | -v, --verbose |
470 | Show details for command-line debugging | 470 | Show details for command-line debugging (can repeat up to 3 times) |
471 | 471 | ||
472 | 472 | ||
473 | =head2 ARGUMENTS | 473 | =head2 ARGUMENTS |
@@ -506,7 +506,7 @@ and so on. The following are some examples: | |||
506 | 506 | ||
507 | =item exclude|X=s@ | 507 | =item exclude|X=s@ |
508 | 508 | ||
509 | =item verbose|v | 509 | =item verbose|v+ |
510 | 510 | ||
511 | =back | 511 | =back |
512 | 512 | ||