IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23736


Ignore:
Timestamp:
Apr 7, 2009, 4:19:21 PM (17 years ago)
Author:
bills
Message:

require target_id to be supplied since there is a foreign key constraint

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r23717 r23736  
    9797    PXOPT_LOOKUP_STR(outroot, config->args, "-outroot", true, false);
    9898    // optional
    99     PXOPT_LOOKUP_S64(target_id, config->args, "-target_id",  false, false);
     99    PXOPT_LOOKUP_S64(target_id, config->args, "-target_id",  true, false);
    100100    PXOPT_LOOKUP_BOOL(clean, config->args, "-clean", false);
    101101    PXOPT_LOOKUP_BOOL(no_magic, config->args, "-no_magic", false);
  • trunk/ippTools/src/disttoolConfig.c

    r23717 r23736  
    4848    psMetadataAddS64(definerunArgs, PS_LIST_TAIL, "-stage_id", 0, "define stage_id (required)", 0);
    4949    psMetadataAddStr(definerunArgs, PS_LIST_TAIL, "-outroot",  0, "define output destination (required)", NULL);
    50     psMetadataAddS64(definerunArgs, PS_LIST_TAIL, "-target_id", 0, "define stage_id", 0);
     50    psMetadataAddS64(definerunArgs, PS_LIST_TAIL, "-target_id", 0, "define target_id (required)", 0);
    5151    psMetadataAddBool(definerunArgs, PS_LIST_TAIL, "-clean", 0,   "build clean distribution bundle", false);
    5252    psMetadataAddBool(definerunArgs, PS_LIST_TAIL, "-no_magic", 0, "magic is not needed", false);
Note: See TracChangeset for help on using the changeset viewer.