change terminology to offset and limit
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 3 Nov 2006 20:07:58 +0000 (20:07 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 3 Nov 2006 20:07:58 +0000 (20:07 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/MARC-Fast/trunk@10 49f9634a-d7ec-0310-8e6b-ec35c6cc8804

scripts/dump_fastmarc.pl

index eb0fd0c..b1d8702 100755 (executable)
@@ -19,13 +19,13 @@ dump_fastmarc.pl - display MARC records
 
 =over 16
 
-=item -n number
+=item -o offset
 
-dump just record C<number>
+dump records starting with C<offset>
 
 =item -l limit
 
-import just first C<limit> records
+dump just C<limit> records
 
 =item -h
 
@@ -40,9 +40,9 @@ turn debugging output on
 =cut
 
 my %opt;
-getopts('dn:l:h', \%opt);
+getopts('do:l:h', \%opt);
 
-my $file = shift @ARGV || die "usage: $0 [-n number] [-l limit] [-h] [-d] file.marc\n";
+my $file = shift @ARGV || die "usage: $0 [-o offset] [-l limit] [-h] [-d] file.marc\n";
 
 my $marc = new MARC::Fast(
        marcdb => $file,