From 4f52e69cceb47ab7f33e669a8f456662f3a4c65a Mon Sep 17 00:00:00 2001 From: Aadi Desai <21363892+supleed2@users.noreply.github.com> Date: Sun, 14 Jan 2024 21:13:55 +0000 Subject: [PATCH] Fix help flag collision --- server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.go b/server/main.go index cbbd243..6534cb7 100644 --- a/server/main.go +++ b/server/main.go @@ -46,7 +46,7 @@ func main() { var args struct { Admin string `arg:"-a" default:"8bit" help:"admin user nick, allows access to /sudo" placeholder:"NICK"` - HistLen uint `arg:"-h" default:"10" help:"set message history size" placeholder:"N"` + HistLen uint `arg:"-l" default:"10" help:"set message history size" placeholder:"N"` Port uint `arg:"positional" default:"0" help:"port to listen on, random available port if not set"` NickMap *string `arg:"-n" help:"path to nick:pass JSON file" placeholder:"FILE"` }