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

This commit is contained in:
Matt Bell 2014-10-28 19:27:07 -07:00 committed by Juan Batiz-Benet
parent be3cb39ed5
commit b3ff407d38

View File

@ -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 {