IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 14, 2008, 8:23:25 AM (18 years ago)
Author:
eugene
Message:

make -closest the default option

File:
1 edited

Legend:

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

    r16983 r16992  
    163163    remove_argument (N, &argc, argv);
    164164  }
    165   /* use 'closest star' matching, rather than traditional method */
    166   options.closest = FALSE;
     165  /* use 'closest star' matching by default */
     166  options.closest = TRUE;
    167167  if ((N = get_argument (argc, argv, "-closest"))) {
    168168    options.closest = TRUE;
     169    remove_argument (N, &argc, argv);
     170  }
     171  if ((N = get_argument (argc, argv, "-all-matches"))) {
     172    options.closest = FALSE;
    169173    remove_argument (N, &argc, argv);
    170174  }
Note: See TracChangeset for help on using the changeset viewer.