Commit b3ff407d authored by Matt Bell's avatar Matt Bell Committed by Juan Batiz-Benet

commands: Gave Requests a reference to the command they are being called on

parent be3cb39e
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment