diff --git a/c/configmgr.c b/c/configmgr.c index 460ff60c..91f2a87c 100644 --- a/c/configmgr.c +++ b/c/configmgr.c @@ -1675,7 +1675,7 @@ static int simpleMain(int argc, char **argv){ while (argx < argc){ char *optionValue = NULL; - if (getStringOption(argc,argv,&argx,"-h")){ + if (strcmp(argv[argx], "-h") == 0) { showHelp(traceOut); return 0; } else if ((optionValue = getStringOption(argc,argv,&argx,"-s")) != NULL){