From b8d17ddb96041ff29a71f23e79b9771d250cb7f0 Mon Sep 17 00:00:00 2001 From: Jack <3486688394@qq.com> Date: Tue, 28 Jan 2025 23:34:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E8=A1=8C=E5=B8=AE=E5=8A=A9=E4=BF=A1=E6=81=AF=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=91=BD=E4=BB=A4=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PortProxyTool.Cli/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PortProxyTool.Cli/Program.cs b/PortProxyTool.Cli/Program.cs index 17f9306..30ca826 100644 --- a/PortProxyTool.Cli/Program.cs +++ b/PortProxyTool.Cli/Program.cs @@ -12,7 +12,7 @@ internal static class Program else switch (args[0]) { - case "get": + case "list": switch (args.Length) { case 1: @@ -108,6 +108,9 @@ internal static class Program } break; + default: + AnsiConsole.MarkupLine("[red]命令没有找到[/][gray]:[/] [white]接受的命令为 add, remove, list[/]"); + return; } } } \ No newline at end of file