IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2010, 2:02:53 AM (16 years ago)
Author:
bills
Message:

add option to save the expanded background model file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppbgrestore/src/ppbgrestoreArguments.c

    r25973 r26662  
    88pmConfig *ppbgrestoreArguments(int argc, char *argv[])
    99{
     10    int argnum;
    1011    if (argc == 1) {
    1112        usage();
     
    3233        usage();
    3334    }
     35
     36    if ((argnum = psArgumentGet(argc, argv, "-savebg"))) {
     37        psArgumentRemove(argnum, &argc, argv);
     38        psMetadataAddBool(config->arguments, PS_LIST_TAIL, "SAVE_BACKGROUND", 0, "save background innmage", true);
     39    }
     40
    3441    if (argc != 2) usage ();
    3542
Note: See TracChangeset for help on using the changeset viewer.