IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2015, 12:36:49 PM (11 years ago)
Author:
bills
Message:

Code to implement update mode in psphotStack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotStackArguments.c

    r34282 r38384  
    3131    // these options override the PSPHOT recipe values loaded from recipe files
    3232    psMetadata *options = pmConfigRecipeOptions (config, PSPHOT_RECIPE);
     33
     34    bool updateMode = false;
     35    if ((N = psArgumentGet (argc, argv, "-updatemode"))) {
     36        psArgumentRemove (N, &argc, argv);
     37        updateMode = true;
     38    }
     39    psMetadataAddBool(config->arguments, PS_LIST_TAIL, "PSPHOT.STACK.UPDATEMODE", 0, "update mode flag", updateMode);
    3340
    3441    // visual : interactive display mode
Note: See TracChangeset for help on using the changeset viewer.