Changeset 8321
- Timestamp:
- Aug 14, 2006, 12:04:04 PM (20 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
regtool.c (modified) (2 diffs)
-
regtoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtool.c
r8292 r8321 777 777 778 778 bool status = false; 779 psString exp_type = psMetadataLookupStr(&status, config->args, "-exp_type"); 780 if (!status) { 781 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_type"); 782 return false; 783 } 784 if (!exp_type) { 785 psError(PS_ERR_UNKNOWN, true, "-exp_type is required"); 786 return false; 787 } 779 788 psString filter = psMetadataLookupStr(&status, config->args, "-filter"); 780 789 if (!status) { … … 891 900 imfile->class_id, 892 901 imfile->uri, 902 exp_type, 893 903 filter, 894 904 airmass, -
trunk/ippTools/src/regtoolConfig.c
r8308 r8321 94 94 psMetadataAddStr(updateimfileArgs, PS_LIST_TAIL, "-class_id", 0, 95 95 "search by class ID", NULL); 96 psMetadataAddStr(updateimfileArgs, PS_LIST_TAIL, "-exp_type", 0, 97 "define exposure type", NULL); 96 98 psMetadataAddStr(updateimfileArgs, PS_LIST_TAIL, "-filter", 0, 97 99 "define filter ", NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
