commands: Gave Requests a reference to the command they are being called on
Matt Bell committed
Oct 28, 2014 at 19:27 UTC
b3ff407d3819a0f364ea1234c7c48b38d271f50f
1 file changed
+1
-1
cmd/ipfs/ipfs.go
+1
-1
@@ -125,7 +125,7 @@ func main() {
125
}
126
127
func getOptions(req cmds.Request, root *cmds.Command) (cmds.Request, error) {
128
- tempReq := cmds.NewRequest(req.Path(), req.Options(), nil, nil)
128
+ tempReq := cmds.NewRequest(req.Path(), req.Options(), nil, nil, nil)
129
130
options, err := root.GetOptions(tempReq.Path())
131
if err != nil {