astefanutti commented on a change in pull request #932: Provide better
instructions on the kit create command for missing nam…
URL: https://github.com/apache/camel-k/pull/932#discussion_r322735058
##########
File path: pkg/cmd/kit_create.go
##########
@@ -76,7 +75,7 @@ type kitCreateCommand struct {
func (command *kitCreateCommand) validateArgs(_ *cobra.Command, args []string)
error {
if len(args) != 1 {
- return errors.New("accepts 1 arg, received " +
strconv.Itoa(len(args)))
+ return errors.New("Create expects a single name argument.")
Review comment:
Error message should not start with capital letter.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services