This commit is contained in:
gaofei
2025-08-22 12:06:43 +08:00
parent af34395823
commit 8113150d9e
2 changed files with 43 additions and 8 deletions

View File

@@ -10,8 +10,8 @@ import (
)
var (
host = flag.String("host", "localhost", "Server host")
port = flag.String("port", "26666", "Server port")
host = flag.String("h", "localhost", "Server host")
port = flag.String("p", "26666", "Server port")
)
func main() {
@@ -62,4 +62,4 @@ func main() {
if err := scanner.Err(); err != nil {
fmt.Printf("Error reading input: %v\n", err)
}
}
}