X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=cmd-exec.go;h=3f1ee9747474588d3d13a2ad2f35b34d59928d28;hb=84273d6128b7c3c9d31c2f3a1453107a78e949a9;hp=83743a3f5374035d8b4e3a46fc1947b386c69ce5;hpb=7d1bcb1c9a48514e0e26246b86c8597502833b4b;p=src%2Fxds%2Fxds-cli.git diff --git a/cmd-exec.go b/cmd-exec.go index 83743a3..3f1ee97 100644 --- a/cmd-exec.go +++ b/cmd-exec.go @@ -31,7 +31,7 @@ func initCmdExec(cmdDef *[]cli.Command) { *cmdDef = append(*cmdDef, cli.Command{ Name: "exec", Usage: "execute a command in XDS", - Action: exec, + Action: execCmd, Flags: []cli.Flag{ cli.StringFlag{ Name: "id", @@ -52,7 +52,7 @@ func initCmdExec(cmdDef *[]cli.Command) { }) } -func exec(ctx *cli.Context) error { +func execCmd(ctx *cli.Context) error { prjID := ctx.String("id") rPath := ctx.String("rpath") sdkid := ctx.String("sdkid")