diff --git a/pkg/cmd/pipeline/logs.go b/pkg/cmd/pipeline/logs.go index d7b6cb26d5..fe377bcd16 100644 --- a/pkg/cmd/pipeline/logs.go +++ b/pkg/cmd/pipeline/logs.go @@ -95,8 +95,10 @@ Show logs for given Pipeline and PipelineRun: c.Flags().BoolVarP(&opts.Last, "last", "L", false, "show logs for last PipelineRun") c.Flags().BoolVarP(&opts.AllSteps, "all", "a", false, "show all logs including init steps injected by tekton") c.Flags().BoolVarP(&opts.Follow, "follow", "f", false, "stream live logs") - c.Flags().BoolVarP(&opts.Timestamps, "timestamps", "t", false, "show logs with timestamp") + c.Flags().BoolVarP(&opts.Timestamps, "timestamps", "", false, "show logs with timestamp") c.Flags().IntVarP(&opts.Limit, "limit", "", 5, "lists number of PipelineRuns") + c.Flags().BoolVarP(&opts.Prefixing, "prefix", "", true, "prefix each log line with the log source (task name and step name)") + c.Flags().StringSliceVarP(&opts.Tasks, "task", "t", []string{}, "show logs for mentioned Tasks only") return c }