Fix help flag collision

This commit is contained in:
Aadi Desai 2024-01-14 21:13:55 +00:00
parent f6bd1dcc89
commit 4f52e69cce
Signed by: supleed2
SSH key fingerprint: SHA256:CkbNRs0yVzXEiUp2zd0PSxsfRUMFF9bLlKXtE1xEbKM

View file

@ -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"`
}