提交 b3ff407d 作者: Matt Bell 提交者: Juan Batiz-Benet

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

上级 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论