IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16877


Ignore:
Timestamp:
Mar 7, 2008, 1:03:59 PM (18 years ago)
Author:
bills
Message:

fix usage message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStoreServer/scripts/dsprodtool

    r16876 r16877  
    88
    99use Getopt::Long qw( GetOptions );
     10use Pod::Usage qw( pod2usage );
    1011use DBI;
    1112use PS::IPP::Metadata::Config;
     
    212213    pod2usage(
    213214        -msg =>
    214 "usage: $tmp[$#tmp] [--add|--del] --product prod_name --fileset fs_name --type fs_type [options]
     215"usage: $tmp[$#tmp] [--add|--del] --product prod_name --type prod_type [options]
    215216
    216217Commands:
    217218
    218     --add        Add a new product with the given metadata options.
    219     --del        Remove a product.
     219    --add           Add a new Product
     220    --del           Remove a Product.
    220221
    221222Options:
    222     --type      product type
    223     --description Product Description
    224     --ps0 - ps7 Optional product specific data
    225     --rm        with --del remove the fileset directory from the Data Store
     223    --type          Product type
     224    --description   Product Description
     225    --ps0 - ps7     Optional product specific data
     226    --rm            with --del remove the Product directory from the Data Store
    226227   
    227228$str",
Note: See TracChangeset for help on using the changeset viewer.