mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-18 02:19:44 -07:00
Replace docopt.Parse with docopt.ParseArgs
docopt.Parse has been deprecated in https://github.com/docopt/docopt.go/commit/943c2addfe613d2f08771caf67be9ead4e21029f
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ Options:
|
||||
-h --help Show this screen.
|
||||
--version Show version.`
|
||||
|
||||
arguments, _ := docopt.Parse(usage, nil, true, version, false)
|
||||
arguments, _ := docopt.ParseArgs(usage, nil, version)
|
||||
|
||||
configfile := arguments["--conf"].(string)
|
||||
config, err := irc.LoadConfig(configfile)
|
||||
|
||||
Reference in New Issue
Block a user