Skip to content

Commit

Permalink
switch option -path to -output
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Apr 4, 2023
1 parent c7d501a commit 253b03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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'")
Expand Down

0 comments on commit 253b03a

Please sign in to comment.