Changeset 7315
- Timestamp:
- Jun 2, 2006, 3:15:12 PM (20 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
dettool.c (modified) (4 diffs)
-
dettoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r7304 r7315 1075 1075 return false; 1076 1076 } 1077 if (!det_id) { 1078 psError(PS_ERR_UNKNOWN, true, "-det_id is required"); 1079 return false; 1080 } 1077 1081 psString class_id = psMetadataLookupStr(&status, config->args, "-class_id"); 1078 1082 if (!status) { … … 1080 1084 return false; 1081 1085 } 1086 if (!class_id) { 1087 psError(PS_ERR_UNKNOWN, true, "-class_id is required"); 1088 return false; 1089 } 1082 1090 psString uri = psMetadataLookupStr(&status, config->args, "-uri"); 1083 1091 if (!status) { … … 1085 1093 return false; 1086 1094 } 1095 if (!uri) { 1096 psError(PS_ERR_UNKNOWN, true, "-uri is required"); 1097 return false; 1098 } 1087 1099 psString recipe = psMetadataLookupStr(&status, config->args, "-recipe"); 1088 1100 if (!status) { … … 1090 1102 return false; 1091 1103 } 1104 if (!recipe) { 1105 psError(PS_ERR_UNKNOWN, true, "-recipe is required"); 1106 return false; 1107 } 1092 1108 psString stats = psMetadataLookupStr(&status, config->args, "-stats"); 1093 1109 if (!status) { 1094 1110 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -stats"); 1111 return false; 1112 } 1113 if (!stats) { 1114 psError(PS_ERR_UNKNOWN, true, "-stats is required"); 1095 1115 return false; 1096 1116 } -
trunk/ippTools/src/dettoolConfig.c
r7304 r7315 122 122 psMetadata *addnormalizedArgs = psMetadataAlloc(); 123 123 psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-det_id", 0, 124 "define detrend ID ", NULL);124 "define detrend ID (required)", NULL); 125 125 psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-iter", 0, 126 126 "define iteration number", NULL); 127 127 psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-class_id", 0, 128 "define class ID ", NULL);128 "define class ID (required)", NULL); 129 129 psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-uri", 0, 130 "define URI ", NULL);130 "define URI (required)", NULL); 131 131 psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-stats", 0, 132 "define stat ", NULL);132 "define stat (required)", NULL); 133 133 psMetadataAddStr(addnormalizedArgs, PS_LIST_TAIL, "-recipe", 0, 134 "define recipe ", NULL);134 "define recipe (required)", NULL); 135 135 136 136 // -normalized
Note:
See TracChangeset
for help on using the changeset viewer.
