Changeset 26913

Show
Ignore:
Timestamp:
21.02.2013 14:12:24 (7 years ago)
Author:
davidb
Message:

More detailed usage statement added

Location:
main/trunk/greenstone2/bin/script
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/full-rebuild.pl

    r26441 r26913  
    105105    print STDERR "This program runs import.pl followed by buildcol.pl (in both cases removing any previously\n"; 
    106106    print STDERR "  generated files in 'archives' or 'building'), and then replaces the content of collection's\n"; 
    107     print STDERR "  'index' directory with 'building'."; 
     107    print STDERR "  'index' directory with 'building'.\n"; 
    108108    print STDERR "\n"; 
    109     print STDERR "Usage: $progname [option shared between import.pl and buildcol.pl] collection\n"; 
     109    print STDERR "Usage: $progname [options]| collection\n"; 
     110    print STDERR "       If a minus option is shared between import.pl and buildcol.pl then it can appear\n"; 
     111        print STDERR "         as is, such as -verbosity 5.  This value will be passed to both programs.\n"; 
     112    print STDERR "       If a minus option is specific to one of the programs in particular, then prefix\n"; 
     113    print STDERR "         it with 'import:' or 'buildcol:' respectively, as in '-import:OIDtype hash_on_full_filename'\n"; 
     114    print STDERR "       Run 'import.pl' or 'buildcol.pl' from the command line with no arguments to see the\n"; 
     115        print STDERR "         specific values they take.\n"; 
    110116    print STDERR "\n"; 
    111117 
  • main/trunk/greenstone2/bin/script/incremental-rebuild.pl

    r26441 r26913  
    5555        print STDERR "  the collection uses (such as mg, or mgpp) does not support incremental indexing.\n"; 
    5656    print STDERR "\n"; 
    57     print STDERR "Usage: $progname [shared import.pl and buildcol.pl options] collection\n"; 
     57    print STDERR "Usage: $progname [options]| collection\n"; 
     58    print STDERR "       If a minus option is shared between import.pl and buildcol.pl then it can appear\n"; 
     59        print STDERR "         as is, such as -verbosity 5.  This value will be passed to both programs.\n"; 
     60    print STDERR "       If a minus option is specific to one of the programs in particular, then prefix\n"; 
     61    print STDERR "         it with 'import:' or 'buildcol:' respectively, as in '-import:OIDtype hash_on_full_filename'\n"; 
     62    print STDERR "       Run 'import.pl' or 'buildcol.pl' from the command line with no arguments to see the\n"; 
     63        print STDERR "         specific values they take.\n"; 
    5864    print STDERR "\n"; 
    5965