Merge: src/doc/commands: clean commands hierarchy
[nit.git] / src / doc / term / term.nit
index e23e623..7d490e4 100644 (file)
@@ -26,8 +26,8 @@ redef class CommandParser
 
                # Translate links to doc commands
                if cmd isa CmdEntityLink then
-                       cmd = new CmdComment(model, filter, mentity_name = query)
-                       var opts = new HashMap[String, String]
+                       cmd = new CmdComment(model, mentity_name = query)
+                       var opts = new CmdOptions
                        var status = cmd.parser_init(query, opts)
                        if not status isa CmdSuccess then error = status
                end