IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2007, 1:46:31 PM (19 years ago)
Author:
eugene
Message:

fixed up basic operations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dvoTools/src/dvoApplyCorrArguments.c

    r11804 r11862  
    66
    77static void usage (void) {
    8     fprintf(stderr, "USAGE: dvoApplyCorr MOSAIC.fits OUTPUT\n\n");
     8    fprintf(stderr, "USAGE: dvoApplyCorr -file INPUT.fits OUTPUT\n\n");
    99    exit (2);
    1010}
     
    5050    }
    5151
    52     if (argc != 2) usage ();
    53 
    5452    // the input file is a required argument; if not found, we will exit
    5553    bool status = pmConfigFileSetsMD (config->arguments, config, "INPUT", "-file", "-list");
     
    5856    }
    5957
     58    pmConfigFileSetsMD (config->arguments, config, "CORR", "-corr", "-corrlist");
     59
     60    if (argc != 2) usage ();
     61
    6062    // Add the output image (which remain on the command-line) to the arguments list
    6163    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "OUTPUT", 0, "Name of the output image", argv[1]);
Note: See TracChangeset for help on using the changeset viewer.