Changeset 8504
- Timestamp:
- Aug 22, 2006, 6:42:41 PM (20 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
dettool.c (modified) (1 diff)
-
dettoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r8501 r8504 3689 3689 PS_ASSERT_PTR_NON_NULL(config, false); 3690 3690 3691 // either -rerun or -stop must be specified 3692 bool status = false; 3693 bool again = psMetadataLookupBool(&status, config->args, "-again"); 3694 if (!status) { 3695 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -again"); 3696 return false; 3697 } 3698 bool stop = psMetadataLookupBool(&status, config->args, "-stop"); 3699 if (!status) { 3700 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -stop"); 3701 return false; 3702 } 3703 if (!(again || stop)) { 3704 psError(PS_ERR_UNKNOWN, true, "either -again or -stop must be specified"); 3705 return false; 3706 } 3707 if (again && stop) { 3708 psError(PS_ERR_UNKNOWN, true, "either -again or -stop must be specified"); 3709 return false; 3710 } 3711 3691 3712 return true; 3692 3713 } -
trunk/ippTools/src/dettoolConfig.c
r8502 r8504 401 401 psMetadataAddStr(updatedetrunArgs, PS_LIST_TAIL, "-det_id", 0, 402 402 "search for detrend master for detrend ID (required)", NULL); 403 psMetadataAddBool(updatedetrunArgs, PS_LIST_TAIL, "- rerun", 0,403 psMetadataAddBool(updatedetrunArgs, PS_LIST_TAIL, "-again", 0, 404 404 "start a new iteration of this detrend run", false); 405 405 psMetadataAddBool(updatedetrunArgs, PS_LIST_TAIL, "-stop", 0,
Note:
See TracChangeset
for help on using the changeset viewer.
