[runtime] Disable some tests in full-aot mode which cannot be AOTed because of type...
[mono.git] / mcs / tools / mdoc / Mono.Documentation / index.cs
index b9205ba4fe433f2be2008b8472ae51e4799e0966..0b85085ea20aeb15ef4befb5228dcd86533894f3 100644 (file)
@@ -45,7 +45,7 @@ namespace Mono.Documentation {
 
                        var extra = Parse (options, args, "index", 
                                           "[OPTIONS]+ ACTION",
-                                          "Create tree indexes depending on ACTION. Possible values are \"index\" or \"search\"");
+                                          "Create Monodoc indexes depending on ACTION. Possible values are \"tree\" or \"search\" for, respectively, mdoc tree and lucene search");
                        if (extra == null)
                                return;
 
@@ -53,14 +53,14 @@ namespace Mono.Documentation {
 
                        foreach (var action in extra) {
                                switch (action) {
-                               case "index":
-                                       RootTree.MakeIndex (root);
+                               case "tree":
+                                       root.GenerateIndex ();
                                        break;
                                case "search":
-                                       RootTree.MakeSearchIndex (root);
+                                       root.GenerateSearchIndex ();
                                        break;
                                }
                        }
                }
        }
-}
\ No newline at end of file
+}