check
branchheiko
changeset 3 71a0c4bd43b1
parent 2 7b9bad9c85e6
child 6 aafd8332d7a6
--- a/check	Fri Jan 10 10:53:21 2014 +0100
+++ b/check	Fri Jan 10 11:13:12 2014 +0100
@@ -36,13 +36,14 @@
 #----
 
 sub main {
+	my @opt_ignore;
 
 	GetOptions(
+		'i|ignore=s@' => \@opt_ignore,
 		'h|help' => sub { pod2usage(-verbose => 1, -exit => 0) },
 		'm|man'  => sub { pod2usage(-verbose => 2, -exit => 0) },
 	) or pod2usage;
 
-
 	# test needs to be run as root:* or as backup:backup
 	my $USER = 'backup';
 	my $CFDIR = '/etc/amanda';
@@ -234,6 +235,10 @@
 
 =over
 
+=item B<-i>|B<--ignore> I<filesystem>
+
+The name of a filesystem to be ignored.
+
 =item B<-h>|B<--help>
 
 Show a short description and help text.