IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 2, 2009, 6:07:02 PM (17 years ago)
Author:
watersc1
Message:

Inserted the dumpconfig code that was commented out.

Made edit so that -sigma command line argument is respected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSmooth/src/ppSmoothArguments.c

    r25976 r26008  
    6666        psArgumentRemove (argnum, &argc, argv);
    6767    }
     68    //    XXX ADD this in?
     69    if ((argnum = psArgumentGet(argc, argv, "-dumpconfig"))) {
     70        psArgumentRemove(argnum, &argc, argv);
     71        psMetadataAddStr(config->arguments, PS_LIST_TAIL, "DUMP_CONFIG", PS_META_REPLACE,
     72                         "Filename for configuration dump", argv[argnum]);
     73        psArgumentRemove(argnum, &argc, argv);
     74    }
    6875
    6976    if (argc != 2) usage ();
     
    7178    // Add the input and output images (which remain on the command-line) to the arguments list
    7279    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "OUTPUT", 0, "Name of the output image", argv[1]);
     80
     81
    7382
    7483    return config;
     
    8998    // }
    9099
    91     // XXX ADD this in?
    92     // if ((argnum = psArgumentGet(argc, argv, "-dumpconfig"))) {
    93     //     psArgumentRemove(argnum, &argc, argv);
    94     //     psMetadataAddStr(config->arguments, PS_LIST_TAIL, "DUMP_CONFIG", PS_META_REPLACE,
    95     //                      "Filename for configuration dump", argv[argnum]);
    96     //     psArgumentRemove(argnum, &argc, argv);
    97     // }
    98100
Note: See TracChangeset for help on using the changeset viewer.