IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2006, 12:15:03 PM (20 years ago)
Author:
eugene
Message:

first complete working version (chip only)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroArguments.c

    r6911 r7014  
    11# include "psastro.h"
    22# include <glob.h>
     3// XXX leak free 2006.04.27
    34
    45static void usage (void) {
     
    910pmConfig *psastroArguments (int *argc, char **argv) {
    1011
     12    bool status;
    1113    int N;
    1214
     
    1618    psLogSetFormat ("M");
    1719
    18     // these other options override the PSPHOT recipe options
     20    // these other options override the PSASTRO recipe options
    1921    psMetadata *options = psMetadataAlloc ();
    2022
     
    2729
    2830    // load config data from default locations
    29     pmConfig *config = pmConfigRead(argc, argv);
     31    pmConfig *config = pmConfigRead (argc, argv);
    3032
    3133    // Storage for other command-line arguments
     
    4345    }
    4446
    45     status = pmConfigFileSetsMD (config->arguments, "INPUT", "-file", "-list");
     47    status = pmConfigFileSetsMD (config->arguments, argc, argv, "INPUT", "-file", "-list");
    4648    if (!status) { usage ();}
    4749
Note: See TracChangeset for help on using the changeset viewer.