bool has_help_option(const char *param)

{

    size_t buflen = strlen(param) + 1;

    char *buf = g_malloc(buflen);

    const char *p = param;

    bool result = false;



    while (*p) {

        p = get_opt_value(buf, buflen, p);

        if (*p) {

            p++;

        }



        if (is_help_option(buf)) {

            result = true;

            goto out;

        }

    }



out:

    free(buf);

    return result;

}

bool has_help_option(const char *param)

{

    size_t buflen = strlen(param) + 1;

    char *buf = g_malloc(buflen);

    const char *p = param;

    bool result = false;



    while (*p) {

        p = get_opt_value(buf, buflen, p);

        if (*p) {

            p++;

        }



        if (is_help_option(buf)) {

            result = true;

            goto out;

        }

    }



out:

    free(buf);

    return result;

}

bool FUNC_0(const char *param)

{

    size_t buflen = strlen(param) + 1;

    char *VAR_0 = g_malloc(buflen);

    const char *VAR_1 = param;

    bool result = false;



    while (*VAR_1) {

        VAR_1 = get_opt_value(VAR_0, buflen, VAR_1);

        if (*VAR_1) {

            VAR_1++;

        }



        if (is_help_option(VAR_0)) {

            result = true;

            goto out;

        }

    }



out:

    free(VAR_0);

    return result;

}

bool FUNC_0(const char *param)
{ size_t buflen = strlen(param) + 1; char *VAR_0 = g_malloc(buflen); const char *VAR_1 = param; bool result = false; while (*VAR_1) { VAR_1 = get_opt_value(VAR_0, buflen, VAR_1); if (*VAR_1) { VAR_1++; } if (is_help_option(VAR_0)) { result = true; goto out; } } out:
free(VAR_0); return result; }