Menu

#4658 tcl::prefix error message wrong

obsolete: 8.6b1
closed-invalid
5
2010-07-02
2010-07-02
No

this error message is wrong:
% tcl::prefix match -message xxx
bad option "xxx": must be -message

it should be
wrong # args: should be "tcl::prefix match ?options? table string"

Discussion

  • Peter Spjuth

    Peter Spjuth - 2010-07-02

    The error message is actually correct. The call is correct.
    You asked for the string "xxx" to be matched to the table
    containing "-message", and there was no match.
    The two last arguments are always the table and the string,
    only if there are more, it is searched for options.

     
  • Donal K. Fellows

    • status: open --> closed-invalid
     
MongoDB Logo MongoDB