Index: main/translate.c =================================================================== --- main/translate.c (revision 89442) +++ main/translate.c (working copy) @@ -494,7 +494,7 @@ case CLI_INIT: e->command = "core show translation [recalc]"; e->usage = - "Usage: core show translation [recalc] []\n" + "Usage: core show translation [recalc []]\n" " Displays known codec translators and the cost associated\n" " with each conversion. If the argument 'recalc' is supplied along\n" " with optional number of seconds to test a new test will be performed\n" @@ -523,7 +523,8 @@ AST_RWLIST_WRLOCK(&translators); rebuild_matrix(z); AST_RWLIST_UNLOCK(&translators); - } + } else if (a->argc > 3) + return CLI_SHOWUSAGE; AST_RWLIST_RDLOCK(&translators);