mirror of
https://github.com/ergochat/ergo.git
synced 2025-02-08 18:44:10 +01:00
Replace docopt.Parse with docopt.ParseArgs
docopt.Parse has been deprecated in
943c2addfe
This commit is contained in:
parent
70364f5f67
commit
9a1ede86d3
@ -49,7 +49,7 @@ Options:
|
|||||||
-h --help Show this screen.
|
-h --help Show this screen.
|
||||||
--version Show version.`
|
--version Show version.`
|
||||||
|
|
||||||
arguments, _ := docopt.Parse(usage, nil, true, version, false)
|
arguments, _ := docopt.ParseArgs(usage, nil, version)
|
||||||
|
|
||||||
configfile := arguments["--conf"].(string)
|
configfile := arguments["--conf"].(string)
|
||||||
config, err := irc.LoadConfig(configfile)
|
config, err := irc.LoadConfig(configfile)
|
||||||
|
Loading…
Reference in New Issue
Block a user