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