• Kristofer Pettersson's avatar
    Bug#54569 Some options are not allowed to take argument when passed with loose- prefix · 3611d5e3
    Kristofer Pettersson authored
    Boolean options cause parsing failures when they are given
    with prefix loose- and an argument, either in the command
    line or in configuration file.
    
    The reason was a faulty logic which forced the parsing
    to throw an error when an argument of type NO_ARG was
    used together with an argument which has been identified
    as a key-value pair. Despite the attribute NO_ARG these
    options actually take arguments if they are of type
    BOOL.
    3611d5e3
my_getopt.h 5.24 KB