1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-16 14:27:01 +00:00

chasquid-util: Use docopt.ParseDoc

docopt.Parse is deprecated. This patch updates the code to the newer
variant, ParseDoc, since the default options are what we want.

There are no functional changes.
This commit is contained in:
Alberto Bertogli
2020-04-13 13:57:44 +01:00
parent d60c03f4d2
commit 929a9947bf

View File

@@ -51,7 +51,7 @@ var (
)
func main() {
args, _ = docopt.Parse(usage, nil, true, "", false)
args, _ = docopt.ParseDoc(usage)
// Load globals.
if d, ok := args["--configdir"].(string); ok {