Changes in libcfa/src/parseargs.cfa [7efb322:433d352]
- File:
-
- 1 edited
-
libcfa/src/parseargs.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseargs.cfa
r7efb322 r433d352 185 185 } 186 186 187 bool parse_truefalse(const char * arg, bool & value) {188 if(strcmp(arg, "true") == 0) {189 value = true;190 return true;191 }192 193 if(strcmp(arg, "false") == 0) {194 value = false;195 return true;196 }197 198 return false;199 }200 201 187 bool parse_settrue (const char *, bool & value ) { 202 188 value = true;
Note:
See TracChangeset
for help on using the changeset viewer.