IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 24, 2007, 11:51:19 AM (19 years ago)
Author:
Paul Price
Message:

Fixing argument parsing following change to pmConfig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsStandAlone.c

    r12354 r12993  
    2828
    2929    // Get the options, open the files
    30     ppStatsData *data = ppStatsSetupFromArgs(config);
     30    ppStatsData *data = ppStatsSetupFromArgs(&argc, argv, config);
    3131    if (!data) {
    3232        psError(PS_ERR_UNKNOWN, false, "Unable to parse command-line arguments.\n");
     
    3737    const char *outName = NULL;         // Output file name
    3838    FILE *outFile = stdout;             // Output file
    39     if (*config->argc == 2) {
    40         outName = config->argv[1];
     39    if (argc == 2) {
     40        outName = argv[1];
    4141        if (outName && strlen(outName) > 0) {
    4242            outFile = fopen(outName, "w");
Note: See TracChangeset for help on using the changeset viewer.