X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=bin%2FBackupPC_tarCreate;h=feec8b6049eb716684e4721ebd6f0ecf88ec7fbc;hp=970b2d0b59c051e74bed0069e26eb2772a6618ac;hb=a46edaf622b0e54732428bb1302a03af22b682c7;hpb=ca593f66fd6c35764bd8997c6338b781330f019c diff --git a/bin/BackupPC_tarCreate b/bin/BackupPC_tarCreate index 970b2d0..feec8b6 100755 --- a/bin/BackupPC_tarCreate +++ b/bin/BackupPC_tarCreate @@ -55,7 +55,7 @@ # #======================================================================== # -# Version 3.2.0beta0, released 5 April 2009. +# Version 3.2.0, released 31 Jul 2010. # # See http://backuppc.sourceforge.net. # @@ -76,7 +76,7 @@ die("BackupPC::Lib->new failed\n") if ( !(my $bpc = BackupPC::Lib->new) ); my %opts; -if ( !getopts("Llte:h:n:p:r:s:b:w:", \%opts) || @ARGV < 1 ) { +if ( !getopts("Llte:h:n:p:r:s:b:w:i", \%opts) || @ARGV < 1 ) { print STDERR <new($bpc, $Host, \@Backups); +our $view = BackupPC::View->new($bpc, $Host, \@Backups, $opts{i} ? { only_first => 1 } : {}); # # This constant and the line of code below that uses it are borrowed