X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=cmd-sdks.go;fp=cmd-sdks.go;h=7d257aa56b386ee61075ba0fd915529116f4cb77;hb=bbd16c4e5951055ed73f7282dfd22cc4b3ab5700;hp=5f07e99fb7f266f84873314812fc288441ae54f3;hpb=397a6038d7d88d21c8577f1c7267849ba5814080;p=src%2Fxds%2Fxds-cli.git diff --git a/cmd-sdks.go b/cmd-sdks.go index 5f07e99..7d257aa 100644 --- a/cmd-sdks.go +++ b/cmd-sdks.go @@ -176,7 +176,11 @@ func _displaySdks(sdks []xaapiv1.SDK, verbose bool, all bool, filter string) { } else { if first { + if all { + fmt.Fprintf(writer, "List of available SDKs: \n") + } else { fmt.Fprintf(writer, "List of installed SDKs: \n") + } fmt.Fprintf(writer, " ID\tNAME\tSTATUS\tVERSION\tARCH\n") } fmt.Fprintf(writer, " %s\t%s\t%s\t%s\t%s\n", s.ID[:8], s.Name, s.Status, s.Version, s.Arch) @@ -247,7 +251,8 @@ func sdksInstall(ctx *cli.Context) error { return cli.NewExitError(err, 1) } Log.Debugf("Result of %s: %v", url, newSdk) - fmt.Printf("Installating of '%s' SDK (id %v) successfully started.\n", newSdk.Name, newSdk.ID) + fmt.Printf("Installation of '%s' SDK (id %v) successfully started.\n", newSdk.Name, newSdk.ID) + // Wait exit select {