cmd/commands_http: parse filter options from HttpRequest
[nit.git] / src / doc / term / term.nit
index fc864bb..5010fc9 100644 (file)
@@ -25,8 +25,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