X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=extract_holdings;h=742c6e234b7ec54fe96bb4afb26f54043e87c4a2;hp=ee8bb93406e08e1e480dea7bb85b16f330ae3c5f;hb=f9d60067f67b846437130ef14bf94179206ab164;hpb=0a85ba6fea4ebe57fd01e3ba123237550626cd1c diff --git a/extract_holdings b/extract_holdings index ee8bb93..742c6e2 100755 --- a/extract_holdings +++ b/extract_holdings @@ -192,7 +192,7 @@ sub initialize { show_help("Nothing to do!") unless ($c->{map} or $c->{sample} or $c->{samplemap} or $c->{samplestr}); show_help("map, holdings, and copyid must be specified together!") - if ($c->{map} and !$c->{holdings} and !$c->{copyid}); + if ($c->{map} and !($c->{holdings} and $c->{copyid})); show_version() if $c->{version}; my @keys = keys %{$c};