IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6108


Ignore:
Timestamp:
Jan 20, 2006, 5:10:57 PM (20 years ago)
Author:
jhoblitt
Message:

don't hardcode the binary's name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptoolConfig.c

    r6107 r6108  
    3131        psArgumentRemove (N, &argc, argv);
    3232        if (config->mode) {
    33             psAbort ("p2search", "only one mode selection is allowed");
     33            psAbort (argv[0], "only one mode selection is allowed");
    3434        }
    3535        config->mode = P2_MODE_QUICK;
     
    3838        psArgumentRemove (N, &argc, argv);
    3939        if (config->mode) {
    40             psAbort ("p2search", "only one mode selection is allowed");
     40            psAbort (argv[0], "only one mode selection is allowed");
    4141        }
    4242        config->mode = P2_MODE_DEFINE;
     
    4545        psArgumentRemove (N, &argc, argv);
    4646        if (config->mode) {
    47             psAbort ("p2search", "only one mode selection is allowed");
     47            psAbort (argv[0], "only one mode selection is allowed");
    4848        }
    4949        config->mode = P2_MODE_PENDING;
     
    5252        psArgumentRemove (N, &argc, argv);
    5353        if (config->mode) {
    54             psAbort ("p2search", "only one mode selection is allowed");
     54            psAbort (argv[0], "only one mode selection is allowed");
    5555        }
    5656        config->mode = P2_MODE_UPDATE;
     
    5959        psArgumentRemove (N, &argc, argv);
    6060        if (config->mode) {
    61             psAbort ("p2search", "only one mode selection is allowed");
     61            psAbort (argv[0], "only one mode selection is allowed");
    6262        }
    6363        config->mode = P2_MODE_UPDATE;
Note: See TracChangeset for help on using the changeset viewer.