Changeset 8504 for trunk/ippTools/src/dettool.c
- Timestamp:
- Aug 22, 2006, 6:42:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.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 }
Note:
See TracChangeset
for help on using the changeset viewer.
