|
@@ -22,6 +22,7 @@
|
22
|
22
|
|
23
|
23
|
package com.dmdirc.commandparser.commands.global;
|
24
|
24
|
|
|
25
|
+import com.dmdirc.Main;
|
25
|
26
|
import com.dmdirc.Server;
|
26
|
27
|
import com.dmdirc.commandparser.CommandManager;
|
27
|
28
|
import com.dmdirc.commandparser.commands.GlobalCommand;
|
|
@@ -85,6 +86,10 @@ public class Debug extends GlobalCommand implements IntelligentCommand {
|
85
|
86
|
doServerInfo(origin, isSilent);
|
86
|
87
|
} else if ("benchmark".equals(args[0])) {
|
87
|
88
|
doBenchmark(origin, isSilent);
|
|
89
|
+ } else if ("firstrun".equals(args[0])) {
|
|
90
|
+ Main.getUI().showFirstRunWizard();
|
|
91
|
+ } else if ("migration".equals(args[0])) {
|
|
92
|
+ Main.getUI().showMigrationWizard();
|
88
|
93
|
} else {
|
89
|
94
|
sendLine(origin, isSilent, FORMAT_ERROR, "Unknown debug action.");
|
90
|
95
|
}
|
|
@@ -333,6 +338,8 @@ public class Debug extends GlobalCommand implements IntelligentCommand {
|
333
|
338
|
res.add("forceupdate");
|
334
|
339
|
res.add("serverinfo");
|
335
|
340
|
res.add("benchmark");
|
|
341
|
+ res.add("firstrun");
|
|
342
|
+ res.add("migration");
|
336
|
343
|
} else if (arg == 1 && "error".equals(previousArgs.get(0))) {
|
337
|
344
|
res.add("user");
|
338
|
345
|
res.add("app");
|