mirror of
https://github.com/supleed2/go-chat.git
synced 2024-12-22 22:25:49 +00:00
Fix help flag collision
This commit is contained in:
parent
f6bd1dcc89
commit
4f52e69cce
|
@ -46,7 +46,7 @@ func main() {
|
||||||
|
|
||||||
var args struct {
|
var args struct {
|
||||||
Admin string `arg:"-a" default:"8bit" help:"admin user nick, allows access to /sudo" placeholder:"NICK"`
|
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"`
|
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"`
|
NickMap *string `arg:"-n" help:"path to nick:pass JSON file" placeholder:"FILE"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue