X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=main.c;h=826602c85e996a447ec551e05ca1fe02314f4598;hb=bad8211c28d4b229878e0264012009493db48da5;hp=1fa246e55727c9e5f8e9e34a7f6055fc0e1de810;hpb=82d5d8ffc8cd4cf837736187eba9ddfd8b2e2f7f;p=apps%2Fmadmutt.git diff --git a/main.c b/main.c index 1fa246e..826602c 100644 --- a/main.c +++ b/main.c @@ -581,10 +581,11 @@ int main (int argc, char **argv) case 'd': debug_setlevel(atoi(optarg)); #ifdef DEBUG - if (atoi(optarg)<=3 && atoi(optoarg)>=0) + if (atoi(optarg) < DEBUG_MIN_LEVEL && atoi(optarg) > DEBUG_MAX_LEVEL) printf (_("Debugging at level %d.\n"), atoi(optarg)); else { - printf(_("Please specify a valid debugging level (0-3)\n")) + printf(_("Please specify a valid debugging level (" + DEBUG_MIN_LEVEL_S "-" DEBUG_MAX_LEVEL_S ").\n")); return 1; } #else