Skip to content

Commit

Permalink
fix: download links and log level key
Browse files Browse the repository at this point in the history
  • Loading branch information
WoozyMasta committed Nov 29, 2024
1 parent 32f0887 commit 2c81b7e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@ dayz-all-restart 360
[logo]: assets/bercon.png
[BattlEye]: https://www.battleye.com/ "BattlEye – The Anti-Cheat Gold Standard"
[BERConProtocol]: pkg/bercon/spec/bercon-protocol.md "BattlEye RCON Protocol Specification"
[MacOS arm64]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-darwin-arm64> "MacOS arm64 file"
[MacOS amd64]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-darwin-amd64> "MacOS amd64 file"
[Linux i386]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-linux-386> "Linux i386 file"
[Linux amd64]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-linux-amd64> "Linux amd64 file"
[Linux arm]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-linux-arm> "Linux arm file"
[Linux arm64]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-linux-arm64> "Linux arm64 file"
[Windows i386]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-windows-386.exe> "Windows i386 file"
[Windows amd64]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-windows-amd64.exe> "Windows amd64 file"
[Windows arm64]: https://github.com/WoozyMasta/bercon-go/releases/latest/download/bercon-cli-windows-arm64.exe> "Windows arm64 file"
[MacOS arm64]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-darwin-arm64 "MacOS arm64 file"
[MacOS amd64]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-darwin-amd64 "MacOS amd64 file"
[Linux i386]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-linux-386 "Linux i386 file"
[Linux amd64]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-linux-amd64 "Linux amd64 file"
[Linux arm]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-linux-arm "Linux arm file"
[Linux arm64]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-linux-arm64 "Linux arm64 file"
[Windows i386]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-windows-386.exe "Windows i386 file"
[Windows amd64]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-windows-amd64.exe "Windows amd64 file"
[Windows arm64]: https://github.com/WoozyMasta/bercon-cli/releases/latest/download/bercon-cli-windows-arm64.exe "Windows arm64 file"
4 changes: 2 additions & 2 deletions cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func getFlags() []cli.Flag {

// run application with curent context
func runApp(cCtx *cli.Context) error {
setupLogging(cCtx.String("loglevel"), logFormatter)
setupLogging(cCtx.String("log-level"), logFormatter)

args := cCtx.Args()

Expand Down Expand Up @@ -141,7 +141,7 @@ func runApp(cCtx *cli.Context) error {

// setup bercon params
conn.SetDeadlineTimeout(cCtx.Int("timeout"))
buffersize := cCtx.Int("buffersize")
buffersize := cCtx.Int("buffer-size")
if buffersize < 1024 {
log.Warnf("Buffer sizes less than 1024 may be unstable")
}
Expand Down

0 comments on commit 2c81b7e

Please sign in to comment.