I just tried this and I think that it might be OK (in arguments.c) ... 


        } else if (strstr(argv[x],"-verbose")==argv[x]) {
            args->opts[args->onum++]=strdup(argv[x]);

/*        } else if (strcmp(argv[x],"-D")==0) {
            log_error("Parameter -D must be followed by
<name>=<value>");
*/            return(NULL);

        } else if (strstr(argv[x],"-D")==argv[x]) {
            temp=strchr(argv[x],'=');
/*            if (temp==NULL) {
                log_error("Parameter -D must contain one '='
character");
                return(NULL);
            }
*/            if (temp==argv[x]+2) {
                log_error("A property name must be specified before
'='");
                return(NULL);
            }
            args->opts[args->onum++]=strdup(argv[x]);



... It compiles OK but is not an elegant solution!

Reply via email to