Changes in libcfa/src/parseargs.cfa [433d352:7efb322]
- File:
-
- 1 edited
-
libcfa/src/parseargs.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseargs.cfa
r433d352 r7efb322 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 187 201 bool parse_settrue (const char *, bool & value ) { 188 202 value = true;
Note:
See TracChangeset
for help on using the changeset viewer.