Browse code

Improve message for deprecated build-logs option.

Slava Semushin authored on 2016/01/21 23:41:31
Showing 1 changed files
... ...
@@ -37,7 +37,7 @@ func NewCmdBuildLogs(fullName string, f *clientcmd.Factory, out io.Writer) *cobr
37 37
 		Short:      "Show logs from a build",
38 38
 		Long:       buildLogsLong,
39 39
 		Example:    fmt.Sprintf(buildLogsExample, fullName),
40
-		Deprecated: fmt.Sprintf("use %q instead.", LogsRecommendedName),
40
+		Deprecated: fmt.Sprintf("use \"oc %v build/<build-name>\" instead.", LogsRecommendedName),
41 41
 		Run: func(cmd *cobra.Command, args []string) {
42 42
 			err := RunBuildLogs(fullName, f, out, cmd, opts, args)
43 43