Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseargs.cfa

    r6f94958 r789f279  
    2424#include "common.hfa"
    2525#include "limits.hfa"
     26
     27#pragma GCC visibility push(default)
    2628
    2729extern int cfa_args_argc __attribute__((weak));
     
    208210        }
    209211
     212        if(strcmp(arg, "Y") == 0) {
     213                value = true;
     214                return true;
     215        }
     216
     217        if(strcmp(arg, "y") == 0) {
     218                value = true;
     219                return true;
     220        }
     221
    210222        if(strcmp(arg, "no") == 0) {
     223                value = false;
     224                return true;
     225        }
     226
     227        if(strcmp(arg, "N") == 0) {
     228                value = false;
     229                return true;
     230        }
     231
     232        if(strcmp(arg, "n") == 0) {
    211233                value = false;
    212234                return true;
Note: See TracChangeset for help on using the changeset viewer.