IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 1, 2012, 10:22:47 AM (14 years ago)
Author:
eugene
Message:

add a -reset-zpts option if we really want to reset the zero points

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relphot/src/args.c

    r34260 r34642  
    163163  }
    164164
     165  RESET_ZEROPTS = FALSE;
     166  if ((N = get_argument (argc, argv, "-reset-zpts"))) {
     167    remove_argument (N, &argc, argv);
     168    RESET_ZEROPTS = TRUE;
     169  }
     170
    165171  UPDATE = FALSE;
    166172  if ((N = get_argument (argc, argv, "-update"))) {
     
    418424    remove_argument (N, &argc, argv);
    419425    RESET = TRUE;
     426  }
     427
     428  RESET_ZEROPTS = FALSE;
     429  if ((N = get_argument (argc, argv, "-reset-zpts"))) {
     430    remove_argument (N, &argc, argv);
     431    RESET_ZEROPTS = TRUE;
    420432  }
    421433
Note: See TracChangeset for help on using the changeset viewer.