Skip to content

Commit

Permalink
Merge pull request #500 from zowe/Martin-Zeithaml-patch-1
Browse files Browse the repository at this point in the history
Help should not require a parameter
  • Loading branch information
JoeNemo authored Nov 20, 2024
2 parents 1e06b00 + c9e3b2d commit 92e61f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/configmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 92e61f5

Please sign in to comment.