show --listen separately in the help text

Co-authored-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
fd1f744993de14178e6c 2024-12-12 17:06:01 +00:00 committed by GitHub
parent b180f9d8a2
commit fc66b9ac27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ func main() {
exhttp.AutoAllowCORS = false exhttp.AutoAllowCORS = false
flag.SetHelpTitles( flag.SetHelpTitles(
"gomuks - A Matrix client written in Go.", "gomuks - A Matrix client written in Go.",
"gomuks [-hvl]", "gomuks [-hv] [--listen <listen_address>]",
) )
err := flag.Parse() err := flag.Parse()