From 253b03a98082187451252da177f7168efee0a063 Mon Sep 17 00:00:00 2001 From: zyxkad Date: Tue, 4 Apr 2023 08:10:59 -0600 Subject: [PATCH] switch option -path to -output --- cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.go b/cli/main.go index 0b224a5..149a56b 100644 --- a/cli/main.go +++ b/cli/main.go @@ -22,7 +22,7 @@ func parseArgs(){ "type of the server [" + strings.Join(installer.GetInstallerNames(), ",") + "] ") flag.StringVar(&TargetVersion, "version", TargetVersion, "the version of the server need to be installed, default is the latest") - flag.StringVar(&InstallPath, "path", InstallPath, + flag.StringVar(&InstallPath, "output", InstallPath, "the path need to be installed") flag.StringVar(&ExecutableName, "name", ExecutableName, "the executable name, without suffix such as '.sh' or '.jar'")