| … | … | @@ -428,7 +428,7 @@ static FILE *open_help_file(int verbosity) |
| 428 | 428 | help_file = linkgrammar_open_data_file(help_filename); |
| 429 | 429 | } |
| 430 | 430 | |
| 431 | | if ((NULL == help_file) && (verbosity > D_USER_FILES)) |
| 431 | if ((NULL == help_file) && (verbosity == D_USER_FILES)) |
| 432 | 432 | { |
| 433 | 433 | prt_error("Error: Cannot open help file '%s': %s\n", |
| 434 | 434 | help_filename, strerror(errno)); |
| … | … | @@ -531,7 +531,7 @@ static void display_help(const Switch *sp, Command_Options *copts) |
| 531 | 531 | |
| 532 | 532 | if (feof(hf)) |
| 533 | 533 | { |
| 534 | | if (local.verbosity >= D_USER_FILES) |
| 534 | if (local.verbosity == D_USER_FILES) |
| 535 | 535 | prt_error("Error: Cannot find command \"%s\" in help file\n", |
| 536 | 536 | sp->string); |
| 537 | 537 | } |