forked from External/ergo
Merge pull request #311 from iNecas/fix-docopt-deprecation
Replace docopt.Parse with docopt.ParseArgs
This commit is contained in:
commit
6cedb80374
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue