Skip to content

Commit 52d108e

Browse files
committed
Resolved the p and pr logs issue
1 parent 36c0340 commit 52d108e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pkg/cmd/pipeline/logs.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,10 @@ Show logs for given Pipeline and PipelineRun:
9595
c.Flags().BoolVarP(&opts.Last, "last", "L", false, "show logs for last PipelineRun")
9696
c.Flags().BoolVarP(&opts.AllSteps, "all", "a", false, "show all logs including init steps injected by tekton")
9797
c.Flags().BoolVarP(&opts.Follow, "follow", "f", false, "stream live logs")
98-
c.Flags().BoolVarP(&opts.Timestamps, "timestamps", "t", false, "show logs with timestamp")
98+
c.Flags().BoolVarP(&opts.Timestamps, "timestamps", "", false, "show logs with timestamp")
9999
c.Flags().IntVarP(&opts.Limit, "limit", "", 5, "lists number of PipelineRuns")
100+
c.Flags().BoolVarP(&opts.Prefixing, "prefix", "", true, "prefix each log line with the log source (task name and step name)")
101+
c.Flags().StringSliceVarP(&opts.Tasks, "task", "t", []string{}, "show logs for mentioned Tasks only")
100102

101103
return c
102104
}

0 commit comments

Comments
 (0)