IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19569


Ignore:
Timestamp:
Sep 15, 2008, 5:07:02 PM (18 years ago)
Author:
eugene
Message:

testing for where or matched

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/dbCmdlineFields.c

    r14590 r19569  
    1414  dbInitField (&fields[0]);
    1515
    16   // examine each argv[i] entry until we reach a where
    17   for (i = 1; (i < argc) && strcasecmp (argv[i], "where"); i++) {
     16  // examine each argv[i] entry until we reach a 'where' or a 'matched'
     17  for (i = 1; (i < argc) && strcasecmp (argv[i], "where") && strcasecmp (argv[i], "matched"); i++) {
    1818    // split the word by ","
    1919    p = argv[i];
     
    5050  }
    5151
    52   // require 'where' before boolean math
     52  // require 'where' or 'matched to' before boolean math
     53  XXX push this to a test up one level
    5354  if (i != argc) {
    5455    if (strcasecmp(argv[i], "where")) {
Note: See TracChangeset for help on using the changeset viewer.