From b3ff407d3819a0f364ea1234c7c48b38d271f50f Mon Sep 17 00:00:00 2001 From: Matt Bell <mappum@gmail.com> Date: Tue, 28 Oct 2014 19:27:07 -0700 Subject: [PATCH] commands: Gave Requests a reference to the command they are being called on --- cmd/ipfs/ipfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ipfs/ipfs.go b/cmd/ipfs/ipfs.go index 5073fbead..aceb3c6f8 100644 --- a/cmd/ipfs/ipfs.go +++ b/cmd/ipfs/ipfs.go @@ -125,7 +125,7 @@ func main() { } func getOptions(req cmds.Request, root *cmds.Command) (cmds.Request, error) { - tempReq := cmds.NewRequest(req.Path(), req.Options(), nil, nil) + tempReq := cmds.NewRequest(req.Path(), req.Options(), nil, nil, nil) options, err := root.GetOptions(tempReq.Path()) if err != nil { -- GitLab