876 arg_len = strlen(argname); |
876 arg_len = strlen(argname); |
877 } else { |
877 } else { |
878 arg_len = equal_sign - argname; |
878 arg_len = equal_sign - argname; |
879 } |
879 } |
880 |
880 |
881 Flag* found_flag = Flag::find_flag((const char*)argname, arg_len, true); |
881 Flag* found_flag = Flag::find_flag((const char*)argname, arg_len, true, true); |
882 if (found_flag != NULL) { |
882 if (found_flag != NULL) { |
883 char locked_message_buf[BUFLEN]; |
883 char locked_message_buf[BUFLEN]; |
884 found_flag->get_locked_message(locked_message_buf, BUFLEN); |
884 found_flag->get_locked_message(locked_message_buf, BUFLEN); |
885 if (strlen(locked_message_buf) == 0) { |
885 if (strlen(locked_message_buf) == 0) { |
886 if (found_flag->is_bool() && !has_plus_minus) { |
886 if (found_flag->is_bool() && !has_plus_minus) { |