tadayosi commented on code in PR #3589:
URL: https://github.com/apache/camel-k/pull/3589#discussion_r962595164


##########
pkg/cmd/log.go:
##########
@@ -46,6 +46,9 @@ func newCmdLog(rootCmdOptions *RootCmdOptions) 
(*cobra.Command, *logCmdOptions)
                RunE:    options.run,
        }
 
+       cmd.Flags().BoolP("tail", "f", false, "To show the end of the logs")
+       cmd.Flags().Int64P("tail-lines", "l", 10, "The number of lines from the 
end of the logs to show")

Review Comment:
   Or like `kubectl logs` we could possibly drop the original `--tail` and 
always force passing line numbers with `--tail` without a default value:
   https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/logs/logs.go



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to