Browse Source

Help command.

HorridoJoho 3 năm trước cách đây
mục cha
commit
31622d9ba7
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      src/main/java/com/l2jserver/cli/command/HelpCommand.java

+ 5 - 2
src/main/java/com/l2jserver/cli/command/HelpCommand.java

@@ -1,5 +1,5 @@
 /*
- * Copyright © 2019 L2J Server
+ * Copyright © 2019-2022 L2J Server
  *
  * This file is part of L2J Server.
  *
@@ -18,6 +18,9 @@
  */
 package com.l2jserver.cli.command;
 
+import com.l2jserver.cli.L2JServerCLI;
+
+import picocli.CommandLine;
 import picocli.CommandLine.Command;
 
 /**
@@ -30,6 +33,6 @@ public class HelpCommand extends AbstractCommand {
 	
 	@Override
 	public void run() {
-		// TODO(Zoey76): Implement.
+		new CommandLine(L2JServerCLI.class).usage(System.out);
 	}
 }